Fix typo: yaml -> json (#17854)

This commit is contained in:
Harmen Stoppels 2020-08-04 06:11:41 +02:00 committed by GitHub
parent 1c4b6bad43
commit c07102ac9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ def setup_parser(subparser):
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'],