diff --git a/docs/cmd_reference.md b/docs/cmd_reference.md index ea8aaff2..af4337b8 100644 --- a/docs/cmd_reference.md +++ b/docs/cmd_reference.md @@ -80,6 +80,9 @@ This lists available CMD options in Helmsman: `--no-ssm-subst` turn off SSM parameter substitution globally. + + `--replace-on-rename` + uninstall the existing release when a chart with a different name is used. `--spec string` specification file name, contains locations of desired state files to be merged diff --git a/internal/app/cli.go b/internal/app/cli.go index 6e465a2d..24a2f009 100644 --- a/internal/app/cli.go +++ b/internal/app/cli.go @@ -151,7 +151,7 @@ func (c *cli) setup() { flag.BoolVar(&c.substSSMValues, "subst-ssm-values", false, "turn on SSM parameter substitution in values files.") flag.BoolVar(&c.updateDeps, "update-deps", false, "run 'helm dep up' for local charts") flag.BoolVar(&c.forceUpgrades, "force-upgrades", false, "use --force when upgrading helm releases. May cause resources to be recreated.") - flag.BoolVar(&c.renameReplace, "replace-on-rename", false, "Uninstall the existing release when a chart with a different name is used.") + flag.BoolVar(&c.renameReplace, "replace-on-rename", false, "uninstall the existing release when a chart with a different name is used.") flag.BoolVar(&c.noCleanup, "no-cleanup", false, "keeps any credentials files that has been downloaded on the host where helmsman runs.") flag.BoolVar(&c.migrateContext, "migrate-context", false, "updates the context name for all apps defined in the DSF and applies Helmsman labels. Using this flag is required if you want to change context name after it has been set.") flag.BoolVar(&c.alwaysUpgrade, "always-upgrade", false, "upgrade release even if no changes are found")