running the program without options now displays the help text
[bash-notes.git] / notes.sh
index 04a2582..87bb430 100644 (file)
--- a/notes.sh
+++ b/notes.sh
@@ -294,7 +294,8 @@ while true; do
                        exit
                        ;;
                -- )
-                       shift; break
+                       helptext
+               exit
                        ;;
                * )
                        break