From 2421eb618074442d02800e7ff1e811fddef87d30 Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Sat, 18 Apr 2020 22:43:30 -0500 Subject: [PATCH] docs: Add completions for fish_key_reader --- doc_src/cmds/fish_key_reader.rst | 4 ---- share/completions/fish_key_reader.fish | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 share/completions/fish_key_reader.fish 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'