Skip to content

Commit

Permalink
patch command: add concretizer args (spack#34282)
Browse files Browse the repository at this point in the history
* patch command: add concretizer args
* tab completion
  • Loading branch information
becker33 authored Dec 2, 2022
1 parent 3afe6f1 commit 99044be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/spack/spack/cmd/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion share/spack/spack-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99044be

Please sign in to comment.