Skip to content

Commit

Permalink
fix argparse prog name
Browse files Browse the repository at this point in the history
  • Loading branch information
joknarf committed Dec 3, 2024
1 parent 9d37384 commit ea30351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywebfs/pywebfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def __init__(self, title, *args, **kwargs):

def main():
"""start http server according to args"""
parser = argparse.ArgumentParser(prog="python -m httpfile_server")
parser = argparse.ArgumentParser(prog="pywebfs")
parser.add_argument(
"-s", "--server", type=str, default="0.0.0.0", help="HTTP server listen address"
)
Expand Down

0 comments on commit ea30351

Please sign in to comment.