aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristos.K <freedomrfox@gmail.com>2017-06-21 20:44:42 +0300
committerChristos.K <freedomrfox@gmail.com>2017-06-21 20:44:42 +0300
commit5a47b54fca2edfa152d08960fb51ae9f6eb663da (patch)
tree284100ceb19283a531de8138503037b19b387ab6 /bin
parentInclded time-warp option (diff)
downloadGSE-5a47b54fca2edfa152d08960fb51ae9f6eb663da.tar.gz
GSE-5a47b54fca2edfa152d08960fb51ae9f6eb663da.tar.bz2
GSE-5a47b54fca2edfa152d08960fb51ae9f6eb663da.zip
Included simple parameter condition for verbose,auto and time-warp in the gse script & updated gse(1) manpage
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gse4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/gse b/bin/gse
index a353926..e67921d 100755
--- a/bin/gse
+++ b/bin/gse
@@ -535,6 +535,10 @@ while true; do
done
}
+if echo "$@" | grep -q '\--time-warp' && [[ "$#" != 1 ]]; then
+ die "Error: Time Warp must be the only entry"
+fi
+
lppar=()
for i in "$@"; do
lppar+=("$i")