aboutsummaryrefslogtreecommitdiff
path: root/webao
diff options
context:
space:
mode:
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" ;;