Commit 68efb482 authored by Ziqi Fan's avatar Ziqi Fan Committed by GitHub
Browse files

fix: let dynamo run pass --help to dynamo-run (#547)

parent 7dca64df
...@@ -27,10 +27,10 @@ def build_run_command() -> click.Group: ...@@ -27,10 +27,10 @@ def build_run_command() -> click.Group:
def cli(): def cli():
pass pass
# set help_option_names to empty to let dynamo-run handles help option, instead of intercepting by "dynamo run"
@cli.command( @cli.command(
context_settings=dict( context_settings=dict(
ignore_unknown_options=True, ignore_unknown_options=True, allow_extra_args=True, help_option_names=()
allow_extra_args=True,
), ),
) )
def run() -> None: def run() -> None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment