summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2020-08-04 06:11:41 +0200
committerGitHub <noreply@github.com>2020-08-03 23:11:41 -0500
commitc07102ac9f52f19a3bec31f872575800ca72c333 (patch)
tree79ac0e078aea190aaebe0167b1877e0917d66a63 /lib
parent1c4b6bad43fd45fffb2eb5ead0ce2dcf975b9fe9 (diff)
downloadspack-c07102ac9f52f19a3bec31f872575800ca72c333.tar.gz
spack-c07102ac9f52f19a3bec31f872575800ca72c333.tar.bz2
spack-c07102ac9f52f19a3bec31f872575800ca72c333.tar.xz
spack-c07102ac9f52f19a3bec31f872575800ca72c333.zip
Fix typo: yaml -> json (#17854)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/spec.py b/lib/spack/spack/cmd/spec.py
index fd03f09e57..316ec1c35a 100644
--- a/lib/spack/spack/cmd/spec.py
+++ b/lib/spack/spack/cmd/spec.py
@@ -34,7 +34,7 @@ for further documentation regarding the spec syntax, see:
const='yaml', help='print concrete spec as YAML')
subparser.add_argument(
'-j', '--json', action='store_const', dest='format', default=None,
- const='json', help='print concrete spec as YAML')
+ const='json', help='print concrete spec as JSON')
subparser.add_argument(
'-c', '--cover', action='store',
default='nodes', choices=['nodes', 'edges', 'paths'],