1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
zsh/Completion/Unix/Command/_last
Oliver Kiddle 0ba8ae87ea 21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
2005-06-08 12:45:24 +00:00

18 lines
469 B
Plaintext

#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]:host:_hosts' \
'-s[report duration in seconds]' \
'-t[tty]:tty' \
'-w[widen duration field]' \
'*:user:_users'