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