patch command: add concretizer args (#34282)

* patch command: add concretizer args
* tab completion
This commit is contained in:
Greg Becker 2022-12-02 14:02:20 -08:00 committed by GitHub
parent 3afe6f1adc
commit 99044bedd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

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

View file

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