Fix shellcheck warning for command set-pass case statement
Plus minor improvement to set-pass help text. Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
f8a5f46f1d
commit
a7e837cf92
@ -351,11 +351,7 @@ cmd_help() {
|
|||||||
|
|
||||||
Set a new passphrase for the private key specified by <file_name_base>
|
Set a new passphrase for the private key specified by <file_name_base>
|
||||||
|
|
||||||
NOTE: 'set-pass' replaces the following deprecated commands:
|
DEPRECATED: 'set-rsa-pass' and 'set-ec-pass'"
|
||||||
|
|
||||||
* set-rsa-pass <file_name_base> [ cmd-opts ]
|
|
||||||
* set-ec-pass <file_name_base> [ cmd-opts ]
|
|
||||||
* set-ed-pass <file_name_base> [ cmd-opts ]"
|
|
||||||
|
|
||||||
opts="
|
opts="
|
||||||
* nopass - use no password and leave the key unencrypted
|
* nopass - use no password and leave the key unencrypted
|
||||||
@ -5266,8 +5262,7 @@ case "$cmd" in
|
|||||||
set-ec-pass)
|
set-ec-pass)
|
||||||
set_pass_legacy ec "$@"
|
set_pass_legacy ec "$@"
|
||||||
;;
|
;;
|
||||||
# Allow shellcheck to complain, 'set-pass' irregularity is understood
|
set-pass|set-ed-pass)
|
||||||
set-pass|set-ed-pass|set-rsa-pass|set-ec-pass)
|
|
||||||
set_pass "$@"
|
set_pass "$@"
|
||||||
;;
|
;;
|
||||||
update-db)
|
update-db)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user