Skip to content

Commit

Permalink
'run' option now truly accepts only 1 step
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarcote committed Dec 19, 2022
1 parent 342707f commit 458cb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def main():
parser_run = subparsers.add_parser('run', help='Runs the post-process from a given step.', description=help_run,
formatter_class=parser.formatter_class)
parser_run.add_argument('step1', type=str, help='Step to start the post-process.')
parser_run.add_argument('step2', type=str, default=None, help='Last step to run (included). ' \
parser_run.add_argument('step2', type=str, default=None, nargs='?', help='Last step to run (included). ' \
'By default None so it will run until the end.')
parser_exec = subparsers.add_parser('exec', help='Executes a single function from post-processing.',
description=help_exec, formatter_class=parser.formatter_class)
Expand Down

0 comments on commit 458cb4e

Please sign in to comment.