From 3e863848f8f9acd421daed7fe4d0c2578787c06e Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Thu, 28 Apr 2022 02:37:15 -0700 Subject: build_env/test_env: add concretizer args (#30289) --- lib/spack/spack/cmd/common/env_utility.py | 2 ++ share/spack/spack-completion.bash | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/spack/spack/cmd/common/env_utility.py b/lib/spack/spack/cmd/common/env_utility.py index 2b1c82d401..2081263eab 100644 --- a/lib/spack/spack/cmd/common/env_utility.py +++ b/lib/spack/spack/cmd/common/env_utility.py @@ -18,6 +18,8 @@ from spack.util.environment import dump_environment, pickle_environment def setup_parser(subparser): arguments.add_common_arguments(subparser, ['clean', 'dirty']) + arguments.add_concretizer_args(subparser) + subparser.add_argument( '--dump', metavar="FILE", help="dump a source-able environment to FILE" diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index f0c81f11db..90793a2401 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -488,7 +488,7 @@ _spack_bootstrap_untrust() { _spack_build_env() { if $list_options then - SPACK_COMPREPLY="-h --help --clean --dirty --dump --pickle" + SPACK_COMPREPLY="-h --help --clean --dirty -U --fresh --reuse --dump --pickle" else _all_packages fi @@ -1769,7 +1769,7 @@ _spack_test_remove() { _spack_test_env() { if $list_options then - SPACK_COMPREPLY="-h --help --clean --dirty --dump --pickle" + SPACK_COMPREPLY="-h --help --clean --dirty -U --fresh --reuse --dump --pickle" else _all_packages fi -- cgit v1.2.3-60-g2f50