From 0427d5ed4c64e7d1a358264dfa1ecd227011f540 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 31 Aug 2012 16:58:36 +0200 Subject: Add remove synonyms. --- password-store.sh | 4 ++-- 1 file 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 -- cgit v1.2.3