X Tutup
Skip to content

Commit 77351bd

Browse files
authored
Restore compilers.yaml default directory (spack#17283)
1 parent 56db964 commit 77351bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/spack/spack/cmd/compiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def setup_parser(subparser):
3737
find_parser.add_argument('add_paths', nargs=argparse.REMAINDER)
3838
find_parser.add_argument(
3939
'--scope', choices=scopes, metavar=scopes_metavar,
40-
default=spack.config.default_modify_scope(),
40+
default=spack.config.default_modify_scope('compilers'),
4141
help="configuration scope to modify")
4242

4343
# Remove
@@ -49,7 +49,7 @@ def setup_parser(subparser):
4949
remove_parser.add_argument('compiler_spec')
5050
remove_parser.add_argument(
5151
'--scope', choices=scopes, metavar=scopes_metavar,
52-
default=spack.config.default_modify_scope(),
52+
default=spack.config.default_modify_scope('compilers'),
5353
help="configuration scope to modify")
5454

5555
# List

0 commit comments

Comments
 (0)
X Tutup