summaryrefslogtreecommitdiff
path: root/pass
diff options
context:
space:
mode:
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