diff options
-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 "$@" ;; |