diff --git a/cmd/build/cmd_workflow_test.go b/cmd/build/cmd_workflow_test.go index a75cd53..280a7bb 100644 --- a/cmd/build/cmd_workflow_test.go +++ b/cmd/build/cmd_workflow_test.go @@ -214,6 +214,11 @@ func TestBuildCmd_RunReleaseWorkflow_Good(t *testing.T) { assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputPathSnakeFlag.Usage) assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputFlag.Usage) assert.Equal(t, workflowOutputPathFlag.Usage, workflowOutputSnakeFlag.Usage) + + helpText, err := io.Local.Read("/workspace/locales/en.json") + require.NoError(t, err) + assert.Contains(t, helpText, "--workflow-output/") + assert.Contains(t, helpText, "--workflow_output/") }) t.Run("writes to a custom relative path", func(t *testing.T) { diff --git a/locales/en.json b/locales/en.json index 343ef09..a03ae17 100644 --- a/locales/en.json +++ b/locales/en.json @@ -113,7 +113,7 @@ }, "workflow": { "short": "Generate the release workflow", - "long": "Write the embedded GitHub Actions release workflow into .github/workflows/release.yml, or pass --path/--workflow-path/--workflow_path/--output-path/--output_path/--output/--workflowOutputPath/--workflow-output-path/--workflow_output_path for a custom location.", + "long": "Write the embedded GitHub Actions release workflow into .github/workflows/release.yml, or pass --path/--workflow-path/--workflow_path/--output-path/--output_path/--output/--workflowOutputPath/--workflow-output/--workflow_output/--workflow-output-path/--workflow_output_path for a custom location.", "flag": { "path": "Preferred workflow path input.", "workflow_path": "Predictable workflow path alias.",