Skip to content

Commit 6f7f73c

Browse files
committed
fix: better help messge for json.tool same as ast
Signed-off-by: yihong0618 <[email protected]>
1 parent bb8791c commit 6f7f73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/json/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main():
4646
'to validate and pretty-print JSON objects.')
4747
parser = argparse.ArgumentParser(description=description, color=True)
4848
parser.add_argument('infile', nargs='?',
49-
help='a JSON file to be validated or pretty-printed',
49+
help='a JSON file to be validated or pretty-printed, defaults to stdin',
5050
default='-')
5151
parser.add_argument('outfile', nargs='?',
5252
help='write the output of infile to outfile',

0 commit comments

Comments
 (0)