diff --git a/e2e/common/offline_commands_test.go b/e2e/common/offline_commands_test.go index a0b0e9c78c..74956ce7e6 100644 --- a/e2e/common/offline_commands_test.go +++ b/e2e/common/offline_commands_test.go @@ -39,6 +39,12 @@ func TestKamelHelpTraitWorksOffline(t *testing.T) { assert.Nil(t, traitCmd.Execute()) } +func TestKamelHelpOptionWorksOffline(t *testing.T) { + traitCmd := Kamel("run", "Xxx.java", "--help") + traitCmd.SetOut(ioutil.Discard) + assert.Nil(t, traitCmd.Execute()) +} + func TestKamelCompletionWorksOffline(t *testing.T) { bashCmd := Kamel("completion", "bash", "--config", "non-existent-kubeconfig-file") bashCmd.SetOut(ioutil.Discard)