Skip to content
This repository
Browse code

Add help messages for each argument

  • Loading branch information...
commit f353a1ca8c43de5341da3d7de100f07c8790418e 1 parent 11957b6
Yann Sionneau authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  dmp
10  dmp
@@ -8,11 +8,11 @@
8 8
 import sys, argparse, pydot
9 9
 
10 10
 parser = argparse.ArgumentParser(description='Draw Me a Pipeline')
11  
-parser.add_argument('datafile')
12  
-parser.add_argument('--tofile', default=None)
13  
-parser.add_argument('--starttime', default=0)
14  
-parser.add_argument('--endtime', default=10)
15  
-parser.add_argument('--renderengine', default='html', choices=['html', 'dot'])
  11
+parser.add_argument('datafile', help='Name of the file containing data to be processed')
  12
+parser.add_argument('--tofile', default=None, help='Name of the file where the output will be written')
  13
+parser.add_argument('--starttime', default=0, help='dmp will start analyzing input data when this timestamp is reached')
  14
+parser.add_argument('--endtime', default=10, help='dmp will stop analyzing input data when this timestamp is reached')
  15
+parser.add_argument('--renderengine', default='html', choices=['html', 'dot'], help='Format of the output file. For now it is either html or dot')
16 16
 
17 17
 args = parser.parse_args()
18 18
 

0 notes on commit f353a1c

Please sign in to comment.
Something went wrong with that request. Please try again.