Skip to content

Commit

Permalink
Merge pull request #2382 from hlohaus/info
Browse files Browse the repository at this point in the history
Fix aliases to gui  arguments
  • Loading branch information
hlohaus authored Nov 19, 2024
2 parents a0f3ea1 + e57b221 commit 3aa497f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions g4f/gui/gui_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
def gui_parser():
parser = ArgumentParser(description="Run the GUI")
parser.add_argument("--host", type=str, default="0.0.0.0", help="hostname")
parser.add_argument_alias('-h', '--host')
parser.add_argument("--port", type=int, default=8080, help="port")
parser.add_argument_alias('-p', '--port')
parser.add_argument("--debug", action="store_true", help="debug mode")
parser.add_argument_alias('-d', '--debug')
parser.add_argument_alias('-debug', '--debug')
parser.add_argument("--port", "-p", type=int, default=8080, help="port")
parser.add_argument("--debug", "-d", "-debug", action="store_true", help="debug mode")
parser.add_argument("--ignore-cookie-files", action="store_true", help="Don't read .har and cookie files.")
return parser

0 comments on commit 3aa497f

Please sign in to comment.