diff --git a/cmd/build/cmd_workflow_test.go b/cmd/build/cmd_workflow_test.go index 280a7bb..f75c018 100644 --- a/cmd/build/cmd_workflow_test.go +++ b/cmd/build/cmd_workflow_test.go @@ -217,6 +217,8 @@ func TestBuildCmd_RunReleaseWorkflow_Good(t *testing.T) { helpText, err := io.Local.Read("/workspace/locales/en.json") require.NoError(t, err) + assert.Contains(t, helpText, "--workflowPath/") + assert.Contains(t, helpText, "--outputPath/") assert.Contains(t, helpText, "--workflow-output/") assert.Contains(t, helpText, "--workflow_output/") }) diff --git a/locales/en.json b/locales/en.json index a03ae17..c628fa4 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/--workflow_output/--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/--workflowPath/--workflow-path/--workflow_path/--outputPath/--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.",