summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2022-11-23 01:30:49 +0100
committerGitHub <noreply@github.com>2022-11-22 16:30:49 -0800
commit0fd3c9f451d5e54a73c77d5242eede93826c07a6 (patch)
treee73357fb3943dc6f202eb9004f30475c92d95f0d /share
parentc5883fffd7310f704a8adc2f3666d7539cdfe4e1 (diff)
downloadspack-0fd3c9f451d5e54a73c77d5242eede93826c07a6.tar.gz
spack-0fd3c9f451d5e54a73c77d5242eede93826c07a6.tar.bz2
spack-0fd3c9f451d5e54a73c77d5242eede93826c07a6.tar.xz
spack-0fd3c9f451d5e54a73c77d5242eede93826c07a6.zip
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.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
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