Skip to content

Commit

Permalink
Remove German from xkcd related commands (gopasspw#2224)
Browse files Browse the repository at this point in the history
Signed-off-by: dotcs <git@dotcs.me>
  • Loading branch information
dotcs authored May 18, 2022
1 parent d122a9c commit 1f82120
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/commands/pwgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Flag | Aliases | Description
`--one-per-line` | `-1` | Print one password per line.
`--xkcd` | `-x` | Use multiple random english words combined to a password.
`--sep` | `--xs` | Word separator for multi-word passwords.
`--lang` | `--xl` | Language to generate password from. Currently only supports english (en, default) and german (de).
`--lang` | `--xl` | Language to generate password from. Currently only supports english (en, default).
4 changes: 2 additions & 2 deletions gopass.1
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Choose a password generator, use one of: cryptic, memorable, xkcd or external. D
\fB\-\-lang\fR,
\fB\-\-xkcdlang\fR,
\fB\-\-xl\fR,
Language to generate password from, currently de (german) and en (english, default) are supported
Language to generate password from, currently only en (english, default) is supported
.TP
\fB\-\-print\fR,
\fB\-p\fR,
Expand Down Expand Up @@ -402,7 +402,7 @@ Do not include characters that could be easily confused with each other, like '1
\fB\-\-lang\fR,
\fB\-\-xkcdlang\fR,
\fB\-\-xl\fR,
Language to generate password from, currently de (german) and en (english, default) are supported
Language to generate password from, currently only en (english, default) is supported
.TP
\fB\-\-no-capitalize\fR,
\fB\-A\fR,
Expand Down
2 changes: 1 addition & 1 deletion internal/action/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (s *Action) GetCommands() []*cli.Command {
&cli.StringFlag{
Name: "lang",
Aliases: []string{"xkcdlang", "xl"},
Usage: "Language to generate password from, currently de (german) and en (english, default) are supported",
Usage: "Language to generate password from, currently only en (english, default) is supported",
Value: "en",
},
},
Expand Down
2 changes: 1 addition & 1 deletion internal/action/pwgen/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func GetCommands() []*cli.Command {
&cli.StringFlag{
Name: "lang",
Aliases: []string{"xkcdlang", "xl"},
Usage: "Language to generate password from, currently de (german) and en (english, default) are supported",
Usage: "Language to generate password from, currently only en (english, default) is supported",
Value: "en",
},
},
Expand Down
4 changes: 2 additions & 2 deletions zsh.completion
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ WARNING: This will update the secret content to the latest format. This might be

;;
generate)
_arguments : "--clip[Copy the generated password to the clipboard]" "--print[Print the generated password to the terminal]" "--force[Force to overwrite existing password]" "--edit[Open secret for editing after generating a password]" "--symbols[Use symbols in the password]" "--generator[Choose a password generator, use one of: cryptic, memorable, xkcd or external. Default: cryptic]" "--strict[Require strict character class rules]" "--sep[Word separator for generated passwords. If no separator is specified, the words are combined without spaces/separator and the first character of words is capitalised.]" "--lang[Language to generate password from, currently de (german) and en (english, default) are supported]"
_arguments : "--clip[Copy the generated password to the clipboard]" "--print[Print the generated password to the terminal]" "--force[Force to overwrite existing password]" "--edit[Open secret for editing after generating a password]" "--symbols[Use symbols in the password]" "--generator[Choose a password generator, use one of: cryptic, memorable, xkcd or external. Default: cryptic]" "--strict[Require strict character class rules]" "--sep[Word separator for generated passwords. If no separator is specified, the words are combined without spaces/separator and the first character of words is capitalised.]" "--lang[Language to generate password from, currently only en (english, default) is supported]"
_gopass_complete_folders
_gopass_complete_passwords
;;
Expand Down Expand Up @@ -186,7 +186,7 @@ WARNING: This will update the secret content to the latest format. This might be

;;
pwgen)
_arguments : "--no-numerals[Do not include numerals in the generated passwords.]" "--no-capitalize[Do not include capital letter in the generated passwords.]" "--ambiguous[Do not include characters that could be easily confused with each other, like '1' and 'l' or '0' and 'O']" "--symbols[Include at least one symbol in the password.]" "--one-per-line[Print one password per line]" "--xkcd[Use multiple random english words combined to a password. By default, space is used as separator and all words are lowercase]" "--sep[Word separator for generated xkcd style password. If no separator is specified, the words are combined without spaces/separator and the first character of words is capitalised. This flag implies -xkcd]" "--lang[Language to generate password from, currently de (german) and en (english, default) are supported]"
_arguments : "--no-numerals[Do not include numerals in the generated passwords.]" "--no-capitalize[Do not include capital letter in the generated passwords.]" "--ambiguous[Do not include characters that could be easily confused with each other, like '1' and 'l' or '0' and 'O']" "--symbols[Include at least one symbol in the password.]" "--one-per-line[Print one password per line]" "--xkcd[Use multiple random english words combined to a password. By default, space is used as separator and all words are lowercase]" "--sep[Word separator for generated xkcd style password. If no separator is specified, the words are combined without spaces/separator and the first character of words is capitalised. This flag implies -xkcd]" "--lang[Language to generate password from, currently only en (english, default) is supported]"


;;
Expand Down

0 comments on commit 1f82120

Please sign in to comment.