summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-26 14:48:35 +0200
committerGitHub <noreply@github.com>2023-10-26 14:48:35 +0200
commit1c8073c21f2dc469b70f3169b8a9cda770c3ff93 (patch)
tree197884e70d53baabd57586cade70fb23ee19ac51 /lib
parent86520abb68e64769d8feb87e4e4b151d5a2263ea (diff)
downloadspack-1c8073c21f2dc469b70f3169b8a9cda770c3ff93.tar.gz
spack-1c8073c21f2dc469b70f3169b8a9cda770c3ff93.tar.bz2
spack-1c8073c21f2dc469b70f3169b8a9cda770c3ff93.tar.xz
spack-1c8073c21f2dc469b70f3169b8a9cda770c3ff93.zip
spack checksum: show long flags in usage output (#40407)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/checksum.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/cmd/checksum.py b/lib/spack/spack/cmd/checksum.py
index efa4a268c1..91a04ca1c9 100644
--- a/lib/spack/spack/cmd/checksum.py
+++ b/lib/spack/spack/cmd/checksum.py
@@ -37,30 +37,30 @@ def setup_parser(subparser):
help="don't clean up staging area when command completes",
)
subparser.add_argument(
- "-b",
"--batch",
+ "-b",
action="store_true",
default=False,
help="don't ask which versions to checksum",
)
subparser.add_argument(
- "-l",
"--latest",
+ "-l",
action="store_true",
default=False,
help="checksum the latest available version",
)
subparser.add_argument(
- "-p",
"--preferred",
+ "-p",
action="store_true",
default=False,
help="checksum the known Spack preferred version",
)
modes_parser = subparser.add_mutually_exclusive_group()
modes_parser.add_argument(
- "-a",
"--add-to-package",
+ "-a",
action="store_true",
default=False,
help="add new versions to package",