Skip to content

Commit

Permalink
v1.2.0 - change -s, --string option to -c, --command for consistency …
Browse files Browse the repository at this point in the history
…with shells
  • Loading branch information
clarketm committed Dec 24, 2018
1 parent 4dc1228 commit 748870c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
include LICENSE README.md
exclude */test_*

global-exclude *test_*.py
4 changes: 2 additions & 2 deletions pprintjson/pprintjson.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pygments.formatters import TerminalFormatter
from pygments.lexers import JsonLexer

__VERSION__ = "1.1.4"
__VERSION__ = "1.2.0"


def pprintjson(
Expand Down Expand Up @@ -55,7 +55,7 @@ def cli():
help="write output to <file> instead of stdout (default: stdout)",
)
parser.add_argument(
"-s", "--string", type=str, metavar="str", help="json <str> to pretty-print"
"-c", "--command", type=str, metavar="cmd", help="json <str> to pretty-print"
)
parser.add_argument(
"-v", "--version", action="version", version=f"%(prog)s {__VERSION__}"
Expand Down

0 comments on commit 748870c

Please sign in to comment.