Skip to content

Commit

Permalink
bugfix: Added default for --run-type click option in cli.py (overlook…
Browse files Browse the repository at this point in the history
…ed previously)
  • Loading branch information
Kurt Biery committed Mar 27, 2024
1 parent 56bdc46 commit 8afcfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nanorc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def add_decorator(function):
'--ignore-run-registry-insertion-error', type=bool, is_flag=True, default=False,
help='Start the run, even if saving the configuration into the run registry fails')(f3)
f5 = accept_timeout(None)(f4)
f6 = click.option('--run-type', type=click.Choice(['TEST', 'PROD']))(f5)
f6 = click.option('--run-type', type=click.Choice(['TEST', 'PROD']), default='TEST')(f5)
return click.option('--message', type=str, default="")(f6)
# sigh end
return add_decorator
Expand Down

0 comments on commit 8afcfb0

Please sign in to comment.