m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-08-31 16:58:36 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-08-31 16:59:19 +0200
commit0427d5ed4c64e7d1a358264dfa1ecd227011f540 (patch)
tree21b63ad847d03d6b0d14e7f0f76d18401b56ea94
parent39a7ce70a1342690486a5ed57f162bfdfd1dcacf (diff)
Add remove synonyms.
-rwxr-xr-xpassword-store.sh4
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