@@ -13,13 +13,13 @@ def _add_common_args(
1313 parser .add_argument (
1414 '--ssh' ,
1515 action = 'store_true' ,
16- default = get_config_value (config , 'defaults .ssh' , False ),
16+ default = get_config_value (config , 'configs.default .ssh' , False ),
1717 help = 'Use SSH instead of HTTPS for cloning'
1818 )
1919 parser .add_argument (
2020 '-v' , '--verbose' ,
2121 action = 'store_true' ,
22- default = get_config_value (config , 'defaults .verbose' , False ),
22+ default = get_config_value (config , 'configs.default .verbose' , False ),
2323 help = 'Show detailed command output'
2424 )
2525 parser .add_argument (
@@ -76,18 +76,18 @@ def _add_build_args(parser, config: dict[str, Any]) -> None:
7676 parser .add_argument (
7777 '-b' , '--build-type' ,
7878 choices = ['Debug' , 'Release' , 'RelWithDebInfo' , 'MinSizeRel' ],
79- default = get_config_value (config , 'defaults .build_type' , 'Debug' ),
79+ default = get_config_value (config , 'configs.default .build_type' , 'Debug' ),
8080 help = 'CMake build type (default: %(default)s)'
8181 )
8282 parser .add_argument (
8383 '-d' , '--build-dir' ,
84- default = get_config_value (config , 'defaults .build_dir' , 'build' ),
84+ default = get_config_value (config , 'configs.default .build_dir' , 'build' ),
8585 help = 'Build directory name (default: %(default)s)'
8686 )
8787 parser .add_argument (
8888 '-n' , '--no-build' ,
8989 action = 'store_true' ,
90- default = get_config_value (config , 'defaults .no_build' , False ),
90+ default = get_config_value (config , 'configs.default .no_build' , False ),
9191 help = 'Skip building, only configure'
9292 )
9393 parser .add_argument (
@@ -105,7 +105,7 @@ def _add_mono_repo_args(parser, config: dict[str, Any]) -> None:
105105 )
106106 parser .add_argument (
107107 '--mono-dir' ,
108- default = get_config_value (config , 'defaults .mono_dir' , 'build-mono' ),
108+ default = get_config_value (config , 'configs.default .mono_dir' , 'build-mono' ),
109109 help = 'Directory name for mono-repo cloning (default: %(default)s)'
110110 )
111111 parser .add_argument (
0 commit comments