diff --git a/docs/best_practices_workflows.rst b/docs/best_practices_workflows.rst index 839c7fb87..59ddcf9e4 100644 --- a/docs/best_practices_workflows.rst +++ b/docs/best_practices_workflows.rst @@ -125,7 +125,7 @@ the ``--from_invocation`` option. :: - $ planemo workflow_test_init --from_invocation --galaxy_url --galaxy_user_key" + $ planemo workflow_test_init --from_invocation --galaxy_url --galaxy_user_key" You also need to specify the server URL and your API key, as Galaxy invocation IDs are only unique to a particular server. You can obtain the invocation ID from diff --git a/docs/commands/workflow_test_on_invocation.rst b/docs/commands/workflow_test_on_invocation.rst index f8108f104..1c617bec6 100644 --- a/docs/commands/workflow_test_on_invocation.rst +++ b/docs/commands/workflow_test_on_invocation.rst @@ -8,7 +8,7 @@ This section is auto-generated from the help text for the planemo command **Usage**:: - planemo workflow_test_on_invocation [OPTIONS] TEST DEFINITION INVOCATION + planemo workflow_test_on_invocation [OPTIONS] TEST.YML INVOCATION_ID **Help** diff --git a/planemo/commands/cmd_workflow_test_on_invocation.py b/planemo/commands/cmd_workflow_test_on_invocation.py index 0d34220d1..7b5bcc8d5 100644 --- a/planemo/commands/cmd_workflow_test_on_invocation.py +++ b/planemo/commands/cmd_workflow_test_on_invocation.py @@ -13,7 +13,7 @@ @click.command("workflow_test_on_invocation") -@options.optional_tools_arg(multiple=False, allow_uris=False, metavar="TEST DEFINITION") +@options.optional_tools_arg(multiple=False, allow_uris=False, metavar="TEST.YML") @options.required_invocation_id_arg() @options.galaxy_url_option(required=True) @options.galaxy_user_key_option(required=True) diff --git a/planemo/options.py b/planemo/options.py index 05f67b495..03f5eb3c1 100644 --- a/planemo/options.py +++ b/planemo/options.py @@ -757,7 +757,7 @@ def required_workflow_arg(): def required_invocation_id_arg(): return click.argument( "invocation_id", - metavar="INVOCATION ID", + metavar="INVOCATION_ID", type=str, )