Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #264 from secrethub/feature/update-force-flag-desc…
Browse files Browse the repository at this point in the history
…ription

Update --force flag help text
  • Loading branch information
SimonBarendse committed Mar 24, 2020
2 parents 846566d + 492aae7 commit 5b4f931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/secrethub/inject.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (cmd *InjectCommand) Register(r command.Registerer) {
clause.Flag("var", "Define the value for a template variable with `VAR=VALUE`, e.g. --var env=prod").Short('v').StringMapVar(&cmd.templateVars)
clause.Flag("template-version", "The template syntax version to be used. The options are v1, v2, latest or auto to automatically detect the version.").Default("auto").StringVar(&cmd.templateVersion)
clause.Flag("no-prompt", "Do not prompt when a template variable is missing and return an error instead.").BoolVar(&cmd.dontPromptMissingTemplateVars)
registerForceFlag(clause).BoolVar(&cmd.force)
clause.Flag("force", "Overwrite the output file if it already exists, without prompting for confirmation. This flag is ignored if no --output-file is supplied.").Short('f').BoolVar(&cmd.force)

command.BindAction(clause, cmd.Run)
}
Expand Down

0 comments on commit 5b4f931

Please sign in to comment.