From 3d116947e6658f6cd542a8a47b91648156475ece Mon Sep 17 00:00:00 2001 From: danix Date: Sat, 25 Mar 2023 11:35:06 +0100 Subject: [PATCH] running the program without options now displays the help text modified: notes.sh --- notes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notes.sh b/notes.sh index 04a2582..87bb430 100644 --- a/notes.sh +++ b/notes.sh @@ -294,7 +294,8 @@ while true; do exit ;; -- ) - shift; break + helptext + exit ;; * ) break -- 2.20.1