spm

Personal fork of spm (simple password manager)

commit 4d5cf4ba745417d0e3fd1678df5b07fd288e05ea
parent acd5cafde2b57b663b8ecb474687d47f6c507a7a
Author: nmeum <git-nmeum@8pit.net>
Date: Tue, 24 Dec 2013 01:23:09 +0100

Updated synopsis format
1 file changed, 3 insertions(+), 3 deletions(-)
M
tpm
|
6
+++---
diff --git a/tpm b/tpm
@@ -33,7 +33,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

@@ -48,7 +48,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

@@ -73,5 +73,5 @@ insert() {
 case "${1}" in
   "show")   show   "${2}" ;;
   "insert") insert "${2}" ;;
-  *) abort "USAGE: tpm [ COMMAND ] [ ENTRY ]" ;;
+  *) abort "USAGE: tpm [COMMAND] [ENTRY]" ;;
 esac