Message214261
I current get this behavior:
% python3 -m json.tool -h
Traceback (most recent call last):
File "/usr/lib64/python3.3/runpy.py", line 160, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python3.3/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/usr/lib64/python3.3/json/tool.py", line 40, in <module>
main()
File "/usr/lib64/python3.3/json/tool.py", 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:04 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
2014-03-20 18:56:04 | benjamin.peterson | set | messageid: <1395341764.54.0.268971679103.issue21000@psf.upfronthosting.co.za> |
2014-03-20 18:56:04 | benjamin.peterson | link | issue21000 messages |
2014-03-20 18:56:04 | benjamin.peterson | create | |
|