build_env/test_env: add concretizer args (#30289)

This commit is contained in:
Greg Becker 2022-04-28 02:37:15 -07:00 committed by GitHub
parent e7a0b952ab
commit 3e863848f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,8 @@
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"

View File

@ -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