fix: change default values for completion menu arguments from "default" to None in aider/args.py

This commit is contained in:
Paul Gauthier (aider) 2024-09-27 19:49:17 -07:00
parent 2d5db0dc23
commit e465cda5c8

View file

@ -375,13 +375,13 @@ def get_parser(default_config_files, git_root):
group.add_argument( group.add_argument(
"--completion-menu-color", "--completion-menu-color",
metavar="COLOR", metavar="COLOR",
default="default", default=None,
help="Set the color for the completion menu (default: terminal's default text color)", help="Set the color for the completion menu (default: terminal's default text color)",
) )
group.add_argument( group.add_argument(
"--completion-menu-bg-color", "--completion-menu-bg-color",
metavar="COLOR", metavar="COLOR",
default="default", default=None,
help=( help=(
"Set the background color for the completion menu (default: terminal's default" "Set the background color for the completion menu (default: terminal's default"
" background color)" " background color)"
@ -390,7 +390,7 @@ def get_parser(default_config_files, git_root):
group.add_argument( group.add_argument(
"--completion-menu-current-color", "--completion-menu-current-color",
metavar="COLOR", metavar="COLOR",
default="default", default=None,
help=( help=(
"Set the color for the current item in the completion menu (default: terminal's default" "Set the color for the current item in the completion menu (default: terminal's default"
" background color)" " background color)"
@ -399,7 +399,7 @@ def get_parser(default_config_files, git_root):
group.add_argument( group.add_argument(
"--completion-menu-current-bg-color", "--completion-menu-current-bg-color",
metavar="COLOR", metavar="COLOR",
default="default", default=None,
help=( help=(
"Set the background color for the current item in the completion menu (default:" "Set the background color for the current item in the completion menu (default:"
" terminal's default text color)" " terminal's default text color)"