changeset 836:0fa456446fea

use module docstring for description, as intended
author Jeff Hammel <k0scist@gmail.com>
date Thu, 09 Mar 2017 14:22:32 -0800
parents 891c38647775
children 5ba219864529
files python/jsonex.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/jsonex.py	Sat Feb 25 13:10:40 2017 -0800
+++ b/python/jsonex.py	Thu Mar 09 14:22:32 2017 -0800
@@ -20,7 +20,7 @@
 def main(args=sys.argv[1:]):
 
     # command line
-    parser = argparse.ArgumentParser(description='__doc__')
+    parser = argparse.ArgumentParser(description=__doc__)
     parser.add_argument('input', nargs='?',
                         help="input file or url (read from stdin if ommitted)")
     parser.add_argument('object', nargs='*',