Skip to content

Commit a909976

Browse files
Merge pull request #9 from ucodia/fix-dst-argparse
Fix dst argument to accept a single value instead of list
2 parents 4ec57b8 + 071dacc commit a909976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffmpeg_downloader/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def main(prog: str = ""):
350350
parser_download = subparsers.add_parser("download", help="Download FFmpeg")
351351
# specify version and build options (version string or 'snapshot') (optional argument), 5.1.2 or 5.1.2@essential or 5.1.2@arm or snapshot
352352
parser_download.add_argument(
353-
"-d", "--dst", nargs=1, help="Download FFmpeg zip/tar file into <DIR>"
353+
"-d", "--dst", help="Download FFmpeg zip/tar file into <DIR>"
354354
)
355355
parser_download.add_argument(
356356
"-y", action="store_true", help="Don't ask for confirmation to download."

0 commit comments

Comments
 (0)