diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-31 16:58:36 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-31 16:59:19 +0200 |
commit | 0427d5ed4c64e7d1a358264dfa1ecd227011f540 (patch) | |
tree | 21b63ad847d03d6b0d14e7f0f76d18401b56ea94 | |
parent | 39a7ce70a1342690486a5ed57f162bfdfd1dcacf (diff) |
Add remove synonyms.
-rwxr-xr-x | password-store.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/password-store.sh b/password-store.sh index 306f33f..8d7f853 100755 --- a/password-store.sh +++ b/password-store.sh @@ -40,7 +40,7 @@ _EOF } isCommand() { case "$1" in - init|ls|show|insert|generate|remove|push|pull|help) return 0 ;; + init|ls|show|insert|generate|remove|rm|delete|push|pull|help) return 0 ;; *) return 1 ;; esac } @@ -198,7 +198,7 @@ case "$command" in clip "$pass" "$path" fi ;; - remove) + delete|rm|remove) if [[ $# -ne 1 ]]; then echo "Usage: $program $command pass-name" exit |