mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
docs: Add completions for fish_key_reader
This commit is contained in:
parent
0fb58ab625
commit
2421eb6180
2 changed files with 3 additions and 4 deletions
|
@ -21,10 +21,6 @@ The following options are available:
|
|||
|
||||
- ``-c`` or ``--continuous`` begins a session where multiple key sequences can be inspected. By default the program exits after capturing a single key sequence.
|
||||
|
||||
- ``-d`` or ``--debug=CATEGORY_GLOB`` enables debug output and specifies a glob for matching debug categories (like ``fish -d``). Defaults to empty.
|
||||
|
||||
- ``-D`` or ``--debug-stack-frames=DEBUG_LEVEL`` specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128.
|
||||
|
||||
- ``-h`` or ``--help`` prints usage information.
|
||||
|
||||
- ``-v`` or ``--version`` prints fish_key_reader's version and exits.
|
||||
|
|
3
share/completions/fish_key_reader.fish
Normal file
3
share/completions/fish_key_reader.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
complete -c fish_key_reader -s h -l help -d 'Display help and exit'
|
||||
complete -c fish_key_reader -s v -l version -d 'Display version and exit'
|
||||
complete -c fish_key_reader -s c -l continuous -d 'Start a continuous session'
|
Loading…
Reference in a new issue