diff --git a/doc_src/cmds/fish_key_reader.rst b/doc_src/cmds/fish_key_reader.rst index 5af63ce5b..1761fe437 100644 --- a/doc_src/cmds/fish_key_reader.rst +++ b/doc_src/cmds/fish_key_reader.rst @@ -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. diff --git a/share/completions/fish_key_reader.fish b/share/completions/fish_key_reader.fish new file mode 100644 index 000000000..bab66cac0 --- /dev/null +++ b/share/completions/fish_key_reader.fish @@ -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'