diff --git a/codegenerator/templates/rust_cli/impl.rs.j2 b/codegenerator/templates/rust_cli/impl.rs.j2 index 2bb82db..5dbfe70 100644 --- a/codegenerator/templates/rust_cli/impl.rs.j2 +++ b/codegenerator/templates/rust_cli/impl.rs.j2 @@ -267,7 +267,7 @@ impl {{ target_class_name }}Command { {%- endif %} {#- specialities #} // Show command specific hints - op.show_command_hint(); + op.show_command_hint()?; Ok(()) } } diff --git a/codegenerator/tests/unit/test_rust_cli.py b/codegenerator/tests/unit/test_rust_cli.py index e178f45..f47d043 100644 --- a/codegenerator/tests/unit/test_rust_cli.py +++ b/codegenerator/tests/unit/test_rust_cli.py @@ -114,7 +114,7 @@ impl fooCommand { let data = ep.query_async(client).await?; op.output_single::(data)?; // Show command specific hints - op.show_command_hint(); + op.show_command_hint()?; Ok(()) } }