Browse Source

Fixed parse error and re-indented

Samuel W. Flint 7 years ago
parent
commit
c3d8eb3881
1 changed files with 15 additions and 15 deletions
  1. 15 15
      library

+ 15 - 15
library

@@ -92,21 +92,21 @@ function run-query {
 
 # add-book, /home/swflint/org/library.org
 function add-single {
-    if [[ $# -lt 7]] ; then
-    echo -n "Title: "
-    read TITLE
-    echo -n "Author: "
-    read AUTHOR
-    echo -n "LCCN: "
-    read LCCN
-    echo -n "Copyright: "
-    read COPYRIGHT
-    echo -n "Publisher: "
-    read PUBLISHER
-    echo -n "ISBN: "
-    read ISBN
-    echo -n "Location: "
-    read LOCATION
+    if [[ $# -lt 7 ]] ; then
+        echo -n "Title: "
+        read TITLE
+        echo -n "Author: "
+        read AUTHOR
+        echo -n "LCCN: "
+        read LCCN
+        echo -n "Copyright: "
+        read COPYRIGHT
+        echo -n "Publisher: "
+        read PUBLISHER
+        echo -n "ISBN: "
+        read ISBN
+        echo -n "Location: "
+        read LOCATION
     else
         TITLE=$1
         shift