aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-08-12 12:09:44 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-08-12 12:09:44 +0200
commit9173e7afe40dfb8e0356655635e6a6688ad91868 (patch)
treef84fd2a1c4dc692f2dc6f65d57a3b94f5cab3385 /data
parent7e841a6cef0392e60b848b13bff72f91baa91f81 (diff)
downloadscripts-9173e7afe40dfb8e0356655635e6a6688ad91868.tar.gz
scripts-9173e7afe40dfb8e0356655635e6a6688ad91868.zip
Fixed mistake in store.sh argument processing.
Diffstat (limited to 'data')
-rwxr-xr-xdata/store.sh2
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
;;