Skip to content

Commit

Permalink
v1.1.3 - cleanup/clarify cli help text
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed Dec 15, 2018
1 parent 394c487 commit e63e824
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 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.2"
__VERSION__ = "1.1.3"


def pprintjson(
Expand Down Expand Up @@ -55,11 +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",
"-s", "--string", type=str, metavar="str", help="json <str> to pretty-print"
)
parser.add_argument(
"-v", "--version", action="version", version=f"%(prog)s {__VERSION__}"
Expand Down

0 comments on commit e63e824

Please sign in to comment.