password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 6cc9bea13492df83aef62c0b109ca22c72afb432
parent 5a6df91e49376c701381b99d89d61af698c98463
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Sun, 21 Sep 2014 19:15:27 +0200

Alias insert to add.

Diffstat:
Mman/pass.1 | 3++-
Msrc/password-store.sh | 2+-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/pass.1 b/man/pass.1 @@ -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 @@ -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 "$@" ;;