spm

Personal fork of spm (simple password manager)

commit 2b117e053d793cc94825f0fd9afdd3b096e7ba3f
parent ffd5a3e7a378040a7d6e3c95193bf4cbf3bab19b
Author: Klemens Nanni <kl3@posteo.org>
Date: Sat, 27 Feb 2016 17:21:05 +0100

Use newlines in case structure
1 file changed, 9 insertions(+), 3 deletions(-)
M
tpm
|
12
+++++++++---
diff --git a/tpm b/tpm
@@ -107,9 +107,15 @@ if [ $# -gt 2 ]; then
 fi
 
 case "${1}" in
-  "show")   show   "${2}" ;;
-  "insert") insert "${2}" ;;
-  *) abort "USAGE: tpm COMMAND ENTRY" ;;
+  "show")
+    show    "${2}"
+    ;;
+  "insert")
+    insert  "${2}"
+    ;;
+  *)
+    abort   "USAGE: tpm COMMAND ENTRY"
+    ;;
 esac
 
 # vim: et:sw=2:sts=2