summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-05-08 01:34:36 +0200
committerGitHub <noreply@github.com>2020-05-07 18:34:36 -0500
commit08f449ae9a4b18e5a8c1056278b6e925d1760678 (patch)
treeced96817d2c8537f5f23b11ce3865c9e3463d293 /share
parentbff5708a4f9496487bb443acdbe0e387122c892e (diff)
downloadspack-08f449ae9a4b18e5a8c1056278b6e925d1760678.tar.gz
spack-08f449ae9a4b18e5a8c1056278b6e925d1760678.tar.bz2
spack-08f449ae9a4b18e5a8c1056278b6e925d1760678.tar.xz
spack-08f449ae9a4b18e5a8c1056278b6e925d1760678.zip
"spack checksum" QoL (#14311)
* Non-interactive mode for spack checksum; allow passing 'package@version' to spack checksum * Flake8 fixes * Update checksum.py Fix typo * Update spack-completion script * Automatically set non-interactive mode if more than one version passed * Update lib/spack/spack/cmd/checksum.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Add documentation and update spack-completion * Flake8 * Rename option * Update spack-completion * Update lib/spack/spack/cmd/checksum.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update checksum.py * Update stage.py * Update create.py Use batch mode when adding a new package Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
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 12d4c599b8..4b730499d2 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -455,7 +455,7 @@ _spack_cd() {
_spack_checksum() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --keep-stage"
+ SPACK_COMPREPLY="-h --help --keep-stage -b --batch"
else
_all_packages
fi