From 99044bedd7baf6af98a94790ce019f0a91dd4a9d Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Fri, 2 Dec 2022 14:02:20 -0800 Subject: [PATCH] patch command: add concretizer args (#34282) * patch command: add concretizer args * tab completion --- lib/spack/spack/cmd/patch.py | 1 + share/spack/spack-completion.bash | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/patch.py b/lib/spack/spack/cmd/patch.py index 7a7dde13583..d70a6dc7d99 100644 --- a/lib/spack/spack/cmd/patch.py +++ b/lib/spack/spack/cmd/patch.py @@ -16,6 +16,7 @@ def setup_parser(subparser): arguments.add_common_arguments(subparser, ["no_checksum", "deprecated", "specs"]) + arguments.add_concretizer_args(subparser) def patch(parser, args): diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 8abf64a01ec..b66f4cb1aaf 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1439,7 +1439,7 @@ _spack_module_tcl_setdefault() { _spack_patch() { if $list_options then - SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated" + SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated -U --fresh --reuse" else _all_packages fi