mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
whatis: add option completions
[skip-ci]
This commit is contained in:
parent
d02736c0ce
commit
3279661e3a
|
@ -1,2 +1,14 @@
|
|||
|
||||
complete -xc whatis -a "(__fish_complete_man)"
|
||||
|
||||
complete -c whatis -s d -l debug -d "Debug"
|
||||
complete -c whatis -s v -l verbose -d "Verbose"
|
||||
complete -c whatis -s r -l regex -d "Interpret each keyword as a regex"
|
||||
complete -c whatis -s w -l wildcard -d "Allow wildcards"
|
||||
complete -c whatis -s l -l long -d "Do not trim output to terminal width"
|
||||
complete -rc whatis -s C -l config-file -d "Configuration file"
|
||||
complete -xc whatis -s L -l locale -a "(command -sq locale; and locale -a)" -d "Set locale"
|
||||
complete -xc whatis -s m -l systems -d "Set system"
|
||||
complete -xc whatis -s M -l manpath -a "(__fish_complete_directories (commandline -ct))" -d "Manpath"
|
||||
complete -xc whatis -s s -l sections -l section -d "Search only these sections (colon-separated)"
|
||||
complete -c whatis -s '?' -l help -l usage -d "Display help and exit"
|
||||
complete -c whatis -s V -l version -d "Print program version"
|
||||
|
|
Loading…
Reference in New Issue
Block a user