From: danix Date: Sat, 25 Mar 2023 10:35:06 +0000 (+0100) Subject: running the program without options now displays the help text X-Git-Tag: v0.2~7 X-Git-Url: https://git.danix.xyz/?p=bash-notes.git;a=commitdiff_plain;h=3d116947e6658f6cd542a8a47b91648156475ece running the program without options now displays the help text modified: notes.sh --- 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