Author benjamin.peterson
Recipients benjamin.peterson
Date 2014-03-20.18:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I current get this behavior:
% python3 -m json.tool -h
Traceback (most recent call last):
  File "/usr/lib64/python3.3/", line 160, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python3.3/", line 73, in _run_code
    exec(code, run_globals)
  File "/usr/lib64/python3.3/json/", line 40, in <module>
  File "/usr/lib64/python3.3/json/", line 21, in main
    infile = open(sys.argv[1], 'r')
FileNotFoundError: [Errno 2] No such file or directory: '-h'

Instead of that, json.tool should show a helpful message expalining what it does in response to the -h or --help flags.
Date User Action Args
2014-03-20 18:56:04benjamin.petersonsetrecipients: + benjamin.peterson
2014-03-20 18:56:04benjamin.petersonsetmessageid: <>
2014-03-20 18:56:04benjamin.petersonlinkissue21000 messages
2014-03-20 18:56:04benjamin.petersoncreate