fish-shell/init/completions/who.fish

20 lines
1.3 KiB
Fish

complete -c who -s a -l all -d (_ "Same as -b -d --login -p -r -t -T -u")
complete -c who -s b -l boot -d (_ "Print time of last boot")
complete -c who -s d -l dead -d (_ "Print dead processes")
complete -c who -s H -l heading -d (_ "Print line of headings")
complete -c who -s i -l idle -d (_ "Print idle time")
complete -c who -s l -l login -d (_ "Print login process")
complete -c who -l lookup -d (_ "Canonicalize hostnames via DNS")
complete -c who -s m -d (_ "Print hostname and user for stdin")
complete -c who -s p -l process -d (_ "Print active processes spawned by init")
complete -c who -s q -l count -d (_ "Print all login names and number of users logged on")
complete -c who -s r -l runlevel -d (_ "Print current runlevel")
complete -c who -s s -l short -d (_ "Print name, line, and time")
complete -c who -s t -l time -d (_ "Print last system clock change")
complete -c who -s T -l mesg -d (_ "Print users message status as +, - or ?")
complete -c who -s w -l writable -d (_ "Print users message status as +, - or ?")
complete -c who -l message -d (_ "Print users message status as +, - or ?")
complete -c who -s u -l users -d (_ "List users logged in")
complete -c who -l help -d (_ "Print help and exit")
complete -c who -l version -d (_ "Display version and exit and exit")