---
 src/password-store.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/password-store.sh b/src/password-store.sh
index 2d7a40e..31a0eb8 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -283,7 +283,7 @@ cmd_usage() {
                List passwords.
            $PROGRAM find pass-names...
                List passwords that match pass-names.
-           $PROGRAM [show] [--clip[=line-number],-c[line-number]] pass-name
+           $PROGRAM [show] [--clip[=line-number],-c[line-number]] 
[[--next-clip[=line-number],-C[line-number] pass-name
                Show existing password and optionally put it on the clipboard.
                If put on the clipboard, it will be cleared in $CLIP_TIME 
seconds.
            $PROGRAM grep search-string
@@ -294,7 +294,7 @@ cmd_usage() {
                overwriting existing password unless forced.
            $PROGRAM edit pass-name
                Insert a new password or edit an existing password using 
${EDITOR:-vi}.
-           $PROGRAM generate [--no-symbols,-n] [--clip,-c] [--in-place,-i | 
--force,-f] pass-name [pass-length]
+           $PROGRAM generate [--no-symbols,-n] [--clip,-c] [--next-clip,-C] 
[--in-place,-i | --force,-f] pass-name [pass-length]
                Generate a new password of pass-length (or $GENERATED_LENGTH if 
unspecified) with optionally no symbols.
                Optionally put it on the clipboard and clear board after 
$CLIP_TIME seconds.
                Prompt before overwriting existing password unless forced.
@@ -376,7 +376,7 @@ cmd_show() {
                --) shift; break ;;
        esac done
 
-       [[ $err -ne 0 || ( $qrcode -eq 1 && $clip -eq 1 && $nextclip -eq 1) ]] 
&& die "Usage: $PROGRAM $COMMAND [--clip[=line-number],-c[line-number]] 
[--qrcode[=line-number],-q[line-number]] [pass-name]"
+       [[ $err -ne 0 || ( $qrcode -eq 1 && $clip -eq 1 && $nextclip -eq 1 ) ]] 
&& die "Usage: $PROGRAM $COMMAND 
[--clip[=line-number],-c[line-number],-C[line-number],--next-clip=[line-number]]
 [--qrcode[=line-number],-q[line-number]] [pass-name]"
 
        local path="$1"
        local passfile="$PREFIX/$path.gpg"
@@ -523,7 +523,7 @@ cmd_generate() {
                --) shift; break ;;
        esac done
 
-       [[ $err -ne 0 || ( $# -ne 2 && $# -ne 1 ) || ( $force -eq 1 && $inplace 
-eq 1 ) || ( $qrcode -eq 1 && $clip -eq 1  && $nextclip -eq 1) ]] && die 
"Usage: $PROGRAM $COMMAND [--no-symbols,-n] [--clip,-c] [--qrcode,-q] 
[--in-place,-i | --force,-f] pass-name [pass-length]"
+       [[ $err -ne 0 || ( $# -ne 2 && $# -ne 1 ) || ( $force -eq 1 && $inplace 
-eq 1 ) || ( $qrcode -eq 1 && $clip -eq 1 && $nextclip -eq 1) ]] && die "Usage: 
$PROGRAM $COMMAND [--no-symbols,-n] [--clip,-c] [--next-clip,-C] [--qrcode,-q] 
[--in-place,-i | --force,-f] pass-name [pass-length]"
        local path="$1"
        local length="${2:-$GENERATED_LENGTH}"
        check_sneaky_paths "$path"
-- 
2.16.1


_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to