From 9173e7afe40dfb8e0356655635e6a6688ad91868 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 12 Aug 2022 12:09:44 +0200 Subject: Fixed mistake in store.sh argument processing. --- data/store.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/data/store.sh b/data/store.sh index 7cfa8df..6ec4984 100755 --- a/data/store.sh +++ b/data/store.sh @@ -14,7 +14,6 @@ while echo "$1" | grep -q '^-'; do case "$1" in "-d") - [ -z "$2" ] && echo '-d option needs an argument.' >&2 && exit 1 date='true' shift 1 ;; @@ -38,7 +37,6 @@ while echo "$1" | grep -q '^-'; do ;; "-t") - [ -z "$2" ] && echo '-t option needs an argument.' >&2 && exit 1 time='true' shift 1 ;; -- cgit v1.2.1