Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add help messages for each argument

  • Loading branch information...
commit f353a1ca8c43de5341da3d7de100f07c8790418e 1 parent 11957b6
@fallen authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 dmp
View
10 dmp
@@ -8,11 +8,11 @@
import sys, argparse, pydot
parser = argparse.ArgumentParser(description='Draw Me a Pipeline')
-parser.add_argument('datafile')
-parser.add_argument('--tofile', default=None)
-parser.add_argument('--starttime', default=0)
-parser.add_argument('--endtime', default=10)
-parser.add_argument('--renderengine', default='html', choices=['html', 'dot'])
+parser.add_argument('datafile', help='Name of the file containing data to be processed')
+parser.add_argument('--tofile', default=None, help='Name of the file where the output will be written')
+parser.add_argument('--starttime', default=0, help='dmp will start analyzing input data when this timestamp is reached')
+parser.add_argument('--endtime', default=10, help='dmp will stop analyzing input data when this timestamp is reached')
+parser.add_argument('--renderengine', default='html', choices=['html', 'dot'], help='Format of the output file. For now it is either html or dot')
args = parser.parse_args()
Please sign in to comment.
Something went wrong with that request. Please try again.