From 0fd3c9f451d5e54a73c77d5242eede93826c07a6 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Wed, 23 Nov 2022 01:30:49 +0100 Subject: cmd/checksum: allow adding new versions to package (#24532) This adds super-lazy maintainer mode to `spack checksum`: Instead of only printing the new checksums to the terminal, `-a` and `--add-to-package` will add the new checksums to the `package.py` file and open it in the editor afterwards for final checks. --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 24cc2e67a0..8abf64a01e 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -580,7 +580,7 @@ _spack_change() { _spack_checksum() { if $list_options then - SPACK_COMPREPLY="-h --help --keep-stage -b --batch -l --latest -p --preferred" + SPACK_COMPREPLY="-h --help --keep-stage -b --batch -l --latest -p --preferred -a --add-to-package" else _all_packages fi -- cgit v1.2.3-70-g09d2