mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44: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(
|
group.add_argument(
|
||||||
"--gui",
|
"--gui",
|
||||||
"--browser", # ai turn into a boolean!
|
"--browser",
|
||||||
action="store_true",
|
action=argparse.BooleanOptionalAction,
|
||||||
help="Run aider in your browser",
|
help="Run aider in your browser (default: False)",
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue