We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
json.tool
1 parent ce70a57 commit 531fc3aCopy full SHA for 531fc3a
Lib/json/tool.py
@@ -46,7 +46,8 @@ def main():
46
'to validate and pretty-print JSON objects.')
47
parser = argparse.ArgumentParser(description=description, color=True)
48
parser.add_argument('infile', nargs='?',
49
- help='a JSON file to be validated or pretty-printed',
+ help='a JSON file to be validated or pretty-printed; '
50
+ 'defaults to stdin',
51
default='-')
52
parser.add_argument('outfile', nargs='?',
53
help='write the output of infile to outfile',
0 commit comments