Restore compilers.yaml default directory (#17283)
This commit is contained in:
parent
56db9647b1
commit
77351bd287
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ def setup_parser(subparser):
|
||||||
find_parser.add_argument('add_paths', nargs=argparse.REMAINDER)
|
find_parser.add_argument('add_paths', nargs=argparse.REMAINDER)
|
||||||
find_parser.add_argument(
|
find_parser.add_argument(
|
||||||
'--scope', choices=scopes, metavar=scopes_metavar,
|
'--scope', choices=scopes, metavar=scopes_metavar,
|
||||||
default=spack.config.default_modify_scope(),
|
default=spack.config.default_modify_scope('compilers'),
|
||||||
help="configuration scope to modify")
|
help="configuration scope to modify")
|
||||||
|
|
||||||
# Remove
|
# Remove
|
||||||
|
@ -49,7 +49,7 @@ def setup_parser(subparser):
|
||||||
remove_parser.add_argument('compiler_spec')
|
remove_parser.add_argument('compiler_spec')
|
||||||
remove_parser.add_argument(
|
remove_parser.add_argument(
|
||||||
'--scope', choices=scopes, metavar=scopes_metavar,
|
'--scope', choices=scopes, metavar=scopes_metavar,
|
||||||
default=spack.config.default_modify_scope(),
|
default=spack.config.default_modify_scope('compilers'),
|
||||||
help="configuration scope to modify")
|
help="configuration scope to modify")
|
||||||
|
|
||||||
# List
|
# List
|
||||||
|
|
Loading…
Reference in a new issue