summaryrefslogtreecommitdiff
path: root/pass
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 /pass
parent564e87519bf366892bb33b1553f5fa00a57ed66f (diff)
downloadpass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.tar.gz
pass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.tar.bz2
pass-8769aa6370cd6b4ebd7393c32519a04772f5bd29.zip
Make into a real project.
Diffstat (limited to '')
l---------pass1
-rwxr-xr-xsrc/password-store.sh (renamed from password-store.sh)6
2 files changed, 3 insertions, 4 deletions
diff --git a/pass b/pass
deleted file mode 120000
index 0a01348..0000000
--- a/pass
+++ /dev/null
@@ -1 +0,0 @@
-password-store.sh \ No newline at end of file
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