From 1e68b305cbd15dd961f6bc225985a0427e8a4535 Mon Sep 17 00:00:00 2001 From: danix Date: Wed, 26 Apr 2023 16:50:50 +0200 Subject: reimplemented title dialog when adding note if nothing is passed on the command line. --- SOURCE/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SOURCE/main.sh') diff --git a/SOURCE/main.sh b/SOURCE/main.sh index 6198adb..c2822d9 100644 --- a/SOURCE/main.sh +++ b/SOURCE/main.sh @@ -1,5 +1,5 @@ # shellcheck disable=SC2006 -GOPT=$(getopt -o hvplr:a:e:d:s: --long help,version,list,plain,userconf,showconf,sync,restore:,backup:,add:,edit:,delete:,show: -n 'bash-notes' -- "$@") +GOPT=$(getopt -o hvplr:a::e:d:s: --long help,version,list,plain,userconf,showconf,sync,restore:,backup:,add::,edit:,delete:,show: -n 'bash-notes' -- "$@") # shellcheck disable=SC2181 if [ $? != 0 ] ; then helptext >&2 ; exit 1 ; fi -- cgit v1.2.3