From 08f449ae9a4b18e5a8c1056278b6e925d1760678 Mon Sep 17 00:00:00 2001 From: iarspider Date: Fri, 8 May 2020 01:34:36 +0200 Subject: "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 * 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 * Update checksum.py * Update stage.py * Update create.py Use batch mode when adding a new package Co-authored-by: Ivan Razumov Co-authored-by: Adam J. Stewart --- 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 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 -- cgit v1.2.3-60-g2f50