From c07102ac9f52f19a3bec31f872575800ca72c333 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 4 Aug 2020 06:11:41 +0200 Subject: Fix typo: yaml -> json (#17854) --- lib/spack/spack/cmd/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'], -- cgit v1.2.3-70-g09d2