Skip to content

Commit 013fadf

Browse files
committed
allow main to have no argument (just show help)
1 parent 82b0539 commit 013fadf

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
@@ -249,7 +249,7 @@ def show(args):
249249
pass
250250

251251

252-
def main(prog: str):
252+
def main(prog: str = ""):
253253
# create the top-level parser
254254
parser = argparse.ArgumentParser(
255255
prog=prog, description="Download and manage FFmpeg prebuilds"

0 commit comments

Comments
 (0)