summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-03 04:43:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-03 05:25:35 +0200
commit8769aa6370cd6b4ebd7393c32519a04772f5bd29 (patch)
treef91f3de7355094b6900451c8eddeb8b0a972e057 /src/password-store.sh
parent564e87519bf366892bb33b1553f5fa00a57ed66f (diff)
downloadpass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.tar.gz
pass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.tar.bz2
pass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.zip
Make into a real project.
Diffstat (limited to '')
-rwxr-xr-xsrc/password-store.sh (renamed from password-store.sh)6
1 files changed, 3 insertions, 3 deletions
diff --git a/password-store.sh b/src/password-store.sh
index 3ec5b37..2c6bd12 100755
--- a/password-store.sh
+++ b/src/password-store.sh
@@ -28,7 +28,7 @@ Usage:
$program generate [--no-symbols,-n] [--clip,-c] pass-name pass-length
Generate a new password of pass-length with optionally no symbols.
Optionally put it on the clipboard and clear board after 45 seconds.
- $program remove pass-name
+ $program rm pass-name
Remove existing password.
$program push
If the password store is a git repository, push the latest changes.
@@ -43,7 +43,7 @@ _EOF
}
isCommand() {
case "$1" in
- init|ls|show|insert|generate|remove|rm|delete|push|pull|git|help) return 0 ;;
+ init|ls|list|show|insert|generate|remove|rm|delete|push|pull|git|help) return 0 ;;
*) return 1 ;;
esac
}
@@ -107,7 +107,7 @@ else
fi
case "$command" in
- show|ls)
+ show|ls|list)
clip=0
if [[ $1 == "--clip" || $1 == "-c" ]]; then
clip=1