summaryrefslogtreecommitdiff
path: root/etc/completions/_lighty-stats
blob: 9b2b15bdfd89a6f5d762b8b03a2879b5804b3eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#compdef lighty-stats
## vim:ft=zsh
## lighty-stats completion
## Daniel Friesel <derf@derf.homelinux.org>
## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_lighty-stats
## see also: https://derf.homelinux.org/~derf/code/lighty-stats

local arguments

arguments=(
	'(--no-show-days)--show-days'
	'(--no-show-ips)--show-ips'
	'(--no-show-hosts)--show-hosts'
	'(--no-show-status)--show-status'
	'(--no-show-sites)--show-sites'
	'(--no-show-referers)--show-referers'
	'(--show-days)--no-show-days'
	'(--show-ips)--no-show-ips'
	'(--show-hosts)--no-show-hosts'
	'(--show-status)--no-show-status'
	'(--show-sites)--no-show-sites'
	'(--show-referers)--no-show-referers'
	'(--no-resolve)--resolve'
	'(--resolve)--no-resolve'
#	'*--format:::(title= line_even= line_uneven=)'
	'*--format[Output format]:format: '
	'--bytes[Count in bytes instead of hits]'
	'--count=-[How many items to display]:integer: '
	'--match=-[Only show lines matching this]:regex: '
	'--ignore=-[Ignore lines matching this]:regex: '
	'--truncate-url=-[Trim paths]:integer: '
	'--truncate-referer=-[Trim referer paths]:integer: '
	'--width=-[Display width]:integer: '
	'--log-format=-[logfile format]:format:(lighttpd vsftpd)'
	'*:file:_files'
)

_arguments -s $arguments