summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/completions/_lighty-stats9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/completions/_lighty-stats b/etc/completions/_lighty-stats
index a4a987b..4d8ea3d 100644
--- a/etc/completions/_lighty-stats
+++ b/etc/completions/_lighty-stats
@@ -1,9 +1,9 @@
#compdef lighty-stats
## vim:ft=zsh
-local options
+local arguments
-options=(
+arguments=(
'(--no-show-days)--show-days'
'(--no-show-ips)--show-ips'
'(--no-show-hosts)--show-hosts'
@@ -16,6 +16,7 @@ options=(
'--ignore='
'--pathlength='
'--width='
- ''
+ '*:file:_files'
)
-_arguments -s $options
+
+_arguments -s $arguments