Skip to content

Commit

Permalink
Adjust pixel format help output
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorIsAJitterbug committed Apr 28, 2024
1 parent ef8d8d9 commit f39cc21
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/tbc_video_export/opts/opts_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import argparse
import os
from itertools import chain
from typing import TYPE_CHECKING

from tbc_video_export.common import consts
Expand Down Expand Up @@ -224,15 +223,7 @@ def parse_opts(


def _get_opt_aliases() -> str:
pix_fmts = ", ".join(
sorted(
set(
chain(
*((f"--{v}" for _, v in d.value.items()) for d in VideoFormatType)
)
)
)
)
pix_fmts = ", ".join([f"--{t.name.lower()}" for t in VideoFormatType])
out_str = f" Pixel Formats:\n {pix_fmts}\n\n"

bitdepths = ", ".join([f"--{t.value}" for t in VideoBitDepthType])
Expand Down

0 comments on commit f39cc21

Please sign in to comment.