mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
refactor: update --gui/--browser to use BooleanOptionalAction
This commit is contained in:
parent
401967c27f
commit
27711010a0
1 changed files with 3 additions and 3 deletions
|
@ -701,9 +701,9 @@ def get_parser(default_config_files, git_root):
|
|||
)
|
||||
group.add_argument(
|
||||
"--gui",
|
||||
"--browser", # ai turn into a boolean!
|
||||
action="store_true",
|
||||
help="Run aider in your browser",
|
||||
"--browser",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
help="Run aider in your browser (default: False)",
|
||||
default=False,
|
||||
)
|
||||
group.add_argument(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue