aboutsummaryrefslogtreecommitdiff
path: root/webao
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-08 11:05:03 -0500
committerB. Watson <yalhcru@gmail.com>2020-01-08 11:05:03 -0500
commit8e7fc6daa04b1424b222dbe7eb1b82e601321442 (patch)
treeb296eac79548b78c379dfe319573115de1633e1c /webao
parent7be26f7b62728be57cd83c68970da25d4a13415c (diff)
downloadelvi-impersonators-8e7fc6daa04b1424b222dbe7eb1b82e601321442.tar.gz
webao: fix timestamp option
Diffstat (limited to 'webao')
-rwxr-xr-xwebao2
1 files changed, 1 insertions, 1 deletions
diff --git a/webao b/webao
index ec2b273..1af3789 100755
--- a/webao
+++ b/webao
@@ -46,7 +46,7 @@ w3_parse_option_hook() {
opt="$1"
optarg="$2"
case "$opt" in
- -[0-9]*) timestamp="$opt"
+ -[0-9]*) timestamp="${opt/-/}"
check_timestap ;;
-y) years=1 ;;
-y=*) years="$optarg" ;;