Skip to content

Commit

Permalink
Added help for positional arguments module and subroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hovy committed Jan 22, 2019
1 parent e2206b1 commit 8339e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FortranTestGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def parseArguments(argParser):
argParser.add_argument('-e', '--export', action="store_true", help='Generate Export Code')
argParser.add_argument('-r', '--replay', action="store_true", help='Generate Replay Code')
argParser.add_argument('-cf', '--configFile', type=str, help='Import configuration from this file.');
argParser.add_argument('module', nargs='?', default=None);
argParser.add_argument('subroutine', nargs='?', default=None);
argParser.add_argument('module', nargs='?', default=None, help='Module name');
argParser.add_argument('subroutine', nargs='?', default=None, help='Subroutine or function name');
return argParser.parse_args();

def main():
Expand Down

0 comments on commit 8339e3b

Please sign in to comment.