diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-12 12:09:44 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-08-12 12:09:44 +0200 |
commit | 9173e7afe40dfb8e0356655635e6a6688ad91868 (patch) | |
tree | f84fd2a1c4dc692f2dc6f65d57a3b94f5cab3385 /data | |
parent | 7e841a6cef0392e60b848b13bff72f91baa91f81 (diff) | |
download | scripts-9173e7afe40dfb8e0356655635e6a6688ad91868.tar.gz scripts-9173e7afe40dfb8e0356655635e6a6688ad91868.zip |
Fixed mistake in store.sh argument processing.
Diffstat (limited to 'data')
-rwxr-xr-x | data/store.sh | 2 |
1 files changed, 0 insertions, 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 ;; |