diff options
Diffstat (limited to '')
-rwxr-xr-x | src/password-store.sh | 2 | ||||
-rw-r--r-- | src/platform/darwin.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 0481c8a..2287a46 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -245,7 +245,7 @@ cmd_usage() { 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 Generate a new password of pass-length with optionally no symbols. - Optionally put it on the clipboard and clear board after 45 seconds. + Optionally put it on the clipboard and clear board after $CLIP_TIME seconds. Prompt before overwriting existing password unless forced. Optionally replace only the first line of an existing file with a new password. $PROGRAM rm [--recursive,-r] [--force,-f] pass-name diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index d0aba47..e4519ed 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -12,7 +12,7 @@ clip() { [[ $now != $(echo -n "$1" | openssl base64) ]] && before="$now" echo "$before" | openssl base64 -d | pbcopy ) 2>/dev/null & disown - echo "Copied $2 to clipboard. Will clear in 45 seconds." + echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds." } tmpdir() { |