summaryrefslogtreecommitdiffstats
path: root/Lib/json/tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/json/tool.py')
-rw-r--r--Lib/json/tool.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/json/tool.py b/Lib/json/tool.py
index 9028e51..1ba9138 100644
--- a/Lib/json/tool.py
+++ b/Lib/json/tool.py
@@ -9,10 +9,9 @@ import sys
def main():
- prog = 'python -m json'
description = ('A simple command line interface for json module '
'to validate and pretty-print JSON objects.')
- parser = argparse.ArgumentParser(prog=prog, description=description)
+ parser = argparse.ArgumentParser(description=description)
parser.add_argument('infile', nargs='?',
help='a JSON file to be validated or pretty-printed',
default='-')