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

Commit b319d52

Browse files
Update internals/secrethub/generate.go
Co-Authored-By: Simon Barendse <SimonBarendse@users.noreply.github.com>
1 parent 6e6ee58 commit b319d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internals/secrethub/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (cmd *GenerateSecretCommand) Register(r command.Registerer) {
6565
clause.Flag("length", "The length of the generated secret. Defaults to "+strconv.Itoa(defaultLength)).PlaceHolder(strconv.Itoa(defaultLength)).Short('l').SetValue(&cmd.lengthFlag)
6666
clause.Flag("min", "<charset>:<n> Ensure that the resulting password contains at least n characters from the given character set. Note that adding constrains reduces the strength of the secret. When possible, avoid any constraints.").SetValue(&cmd.mins)
6767
clause.Flag("clip", "Copy the generated value to the clipboard. The clipboard is automatically cleared after "+units.HumanDuration(cmd.clearClipboardAfter)+".").Short('c').BoolVar(&cmd.copyToClipboard)
68-
clause.Flag("charset", "Define the sets of characters to randomly generate a password from (e.g. all, numeric, letters, symbols, human-readable...). Multiple character sets can be provided in a comma separated list. Defaults to alphanumeric.").Default("alphanumeric").HintOptions("all", "numeric", "lowercase", "uppercase", "letters", "symbols", "human-readable").SetValue(&cmd.charsetFlag)
68+
clause.Flag("charset", "Define the set of characters to randomly generate a password from. Options are all, alphanumeric, numeric, lowercase, uppercase, letters, symbols and human-readable. Multiple character sets can be combined by supplying them in a comma separated list. Defaults to alphanumeric.").Default("alphanumeric").HintOptions("all", "alphanumeric", "numeric", "lowercase", "uppercase", "letters", "symbols", "human-readable").SetValue(&cmd.charsetFlag)
6969
clause.Flag("symbols", "Include symbols in secret.").Short('s').Hidden().SetValue(&cmd.symbolsFlag)
7070
clause.Arg("rand-command", "").Hidden().StringVar(&cmd.secondArg)
7171
clause.Arg("length", "").Hidden().SetValue(&cmd.lengthArg)

0 commit comments

Comments
 (0)