diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-09-21 19:15:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-09-21 19:15:27 +0200 |
commit | 6cc9bea13492df83aef62c0b109ca22c72afb432 (patch) | |
tree | 45f99702056807fc99ad53fedc68d46abc098e19 | |
parent | 5a6df91e49376c701381b99d89d61af698c98463 (diff) | |
download | pass-6cc9bea13492df83aef62c0b109ca22c72afb432.tar.gz pass-6cc9bea13492df83aef62c0b109ca22c72afb432.tar.bz2 pass-6cc9bea13492df83aef62c0b109ca22c72afb432.zip |
Alias insert to add.
Diffstat (limited to '')
-rw-r--r-- | man/pass.1 | 3 | ||||
-rwxr-xr-x | src/password-store.sh | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -99,7 +99,8 @@ read the new password from standard in. If \fI--echo\fP or \fI-e\fP is \fInot\fP disable keyboard echo when the password is entered and confirm the password by asking for it twice. If \fI--multiline\fP or \fI-m\fP is specified, lines will be read until EOF or Ctrl+D is reached. Otherwise, only a single line from standard in is read. Prompt -before overwriting an existing password, unless \fI--force\fP or \fI-f\fP is specified. +before overwriting an existing password, unless \fI--force\fP or \fI-f\fP is specified. This +command is alternatively named \fBadd\fP. .TP \fBedit\fP \fIpass-name\fP Insert a new password or edit an existing password using the default text editor specified diff --git a/src/password-store.sh b/src/password-store.sh index 2287a46..c85cc33 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -592,7 +592,7 @@ case "$1" in show|ls|list) shift; cmd_show "$@" ;; find|search) shift; cmd_find "$@" ;; grep) shift; cmd_grep "$@" ;; - insert) shift; cmd_insert "$@" ;; + insert|add) shift; cmd_insert "$@" ;; edit) shift; cmd_edit "$@" ;; generate) shift; cmd_generate "$@" ;; delete|rm|remove) shift; cmd_delete "$@" ;; |