[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset a2ad16e86e60 by Benjamin Peterson in branch 'default': improve the command-line interface of json.tool (closes #21000) http://hg.python.org/cpython/rev/a2ad16e86e60 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks a lot for the excellent patch! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a nice improvement. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-l

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Berker Peksag
Berker Peksag added the comment: Here's a new patch. Changes: - Updated the output of -h option - Added documentation - Switched to argparse -- Added file: http://bugs.python.org/file34554/issue21000_v2.diff ___ Python tracker

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps this thing should use argparse? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Very nice, but your help message still doesn't explain what json.tool does. :) -- ___ Python tracker ___

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21000] json.tool ought to have a help flag

2014-03-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21000] json.tool ought to have a help flag

2014-03-20 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file34534/issue21000.diff ___ Python tracker ___

[issue21000] json.tool ought to have a help flag

2014-03-20 Thread Benjamin Peterson
New submission from Benjamin Peterson: 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 _r