summary refs log tree commit diff
path: root/Completion/Unix/Command/_last
blob: 56537bf84e8b81a7ee9e323d90670aed65177f63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#compdef last lastb

_arguments \
	'-a[display hostname in last column]' \
	'-n[number]:number' \
	'-[number]:number' \
	'-f[filename]:filename:_files' \
	'-R[suppress display of hostname field]' \
	'-d[translate IP to hostname]' \
	'-i[display IP]' \
	'-o[read old-format wtmp]' \
	'-x[display shutdown/runlevel entries]' \
	'-h[hostname]:_hosts' \
	'-s[report duration in seconds]' \
	'-t[tty]:tty:' \
	'-w[widen duration field]' \
	'*:user:_users'