From e712179c319a8fd44f538e430f74fb2ba3c90dab Mon Sep 17 00:00:00 2001 From: jleaniz Date: Fri, 2 Aug 2024 17:57:53 +0000 Subject: [PATCH] Bug fix for submit command --- turbinia/api/cli/turbinia_client/core/groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbinia/api/cli/turbinia_client/core/groups.py b/turbinia/api/cli/turbinia_client/core/groups.py index d88a25a1b..97f950b40 100644 --- a/turbinia/api/cli/turbinia_client/core/groups.py +++ b/turbinia/api/cli/turbinia_client/core/groups.py @@ -59,7 +59,6 @@ def setup_submit(ctx: click.Context): try: ctx.obj.evidence_mapping = ctx.obj.get_evidence_arguments() ctx.obj.request_options = ctx.obj.get_request_options() - # Build all the commands based on responses from the API server. request_commands = factory.CommandFactory.create_dynamic_objects( evidence_mapping=ctx.obj.evidence_mapping, @@ -82,3 +81,4 @@ def submit_group(ctx: click.Context): of available evidence types. """ ctx.invoke(setup_submit) + click.echo(submit_group.get_help(ctx))