Skip to content

Commit

Permalink
fix: override argparse usage
Browse files Browse the repository at this point in the history
  • Loading branch information
slhck committed Oct 22, 2024
1 parent b90c8bf commit de730d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ffmpeg_normalize/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def create_parser() -> argparse.ArgumentParser:
ffmpeg-normalize v{} -- command line tool for normalizing audio files
""".format(__version__)
),
# usage="%(prog)s INPUT [INPUT ...] [-o OUTPUT [OUTPUT ...]] [options]",
# manually overridden because argparse generates the wrong order of arguments, see:
# https://github.com/slhck/ffmpeg-normalize/issues/132#issuecomment-662516535
usage="%(prog)s INPUT [INPUT ...] [-o OUTPUT [OUTPUT ...]] [options]",
formatter_class=argparse.RawTextHelpFormatter,
epilog=textwrap.dedent(
"""\
Expand Down

0 comments on commit de730d7

Please sign in to comment.