summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/cmd/patch.py1
-rwxr-xr-xshare/spack/spack-completion.bash2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/patch.py b/lib/spack/spack/cmd/patch.py
index 7a7dde1358..d70a6dc7d9 100644
--- a/lib/spack/spack/cmd/patch.py
+++ b/lib/spack/spack/cmd/patch.py
@@ -16,6 +16,7 @@ level = "long"
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 8abf64a01e..b66f4cb1aa 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