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

Commit c741acc

Browse files
committed
Update update inject command force flag description
1 parent 9717877 commit c741acc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/inject.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (cmd *InjectCommand) Register(r command.Registerer) {
7171
clause.Flag("var", "Define the value for a template variable with `VAR=VALUE`, e.g. --var env=prod").Short('v').StringMapVar(&cmd.templateVars)
7272
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)
7373
clause.Flag("no-prompt", "Do not prompt when a template variable is missing and return an error instead.").BoolVar(&cmd.dontPromptMissingTemplateVars)
74-
registerForceFlag(clause).BoolVar(&cmd.force)
74+
clause.Flag("force", "Overwrite the output file if it already exists, without prompting for confirmation.").Short('f').BoolVar(&cmd.force)
7575

7676
command.BindAction(clause, cmd.Run)
7777
}

0 commit comments

Comments
 (0)