spm

Personal fork of spm (simple password manager)

commit fbc3a6ab4bc6239261f9c2d9c1bfd5fbf6117c3e
parent 38aef7ce6010ce4391f504f06149b2e7d2a72362
Author: Sören Tempel <soeren+git@soeren-tempel.net>
Date: Fri, 13 Mar 2015 17:24:50 +0100

The entry isn't an optional argument either
1 file changed, 2 insertions(+), 2 deletions(-)
M
tpm
|
4
++--
diff --git a/tpm b/tpm
@@ -58,7 +58,7 @@ show() {
   entry_path="${STORE_DIR}/${entry_name}.gpg"
 
   if [ -z "${entry_name}" ]; then
-    abort "USAGE: tpm show [ENTRY]"
+    abort "USAGE: tpm show ENTRY"
   fi
 
   if [ ! -f "${entry_path}" ]; then

@@ -73,7 +73,7 @@ insert() {
   entry_path="${STORE_DIR}/${entry_name}.gpg"
 
   if [ -z "${entry_name}" ]; then
-    abort "USAGE: tpm insert [ENTRY]"
+    abort "USAGE: tpm insert ENTRY"
   fi
 
   if [ -e "${entry_path}" ] && [ -t 0 ]; then