From 3262c5ff4486e4cbf416ca6de1df564accb4737a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 10 May 2019 15:38:54 +0200 Subject: [PATCH] docs: Document that `complete -k` does last calls first Fixes #5868. [ci skip] --- sphinx_doc_src/cmds/complete.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_doc_src/cmds/complete.rst b/sphinx_doc_src/cmds/complete.rst index fe6330a7f..ebfda2d07 100644 --- a/sphinx_doc_src/cmds/complete.rst +++ b/sphinx_doc_src/cmds/complete.rst @@ -54,7 +54,7 @@ the fish manual. - ``-a OPTION_ARGUMENTS`` or ``--arguments=OPTION_ARGUMENTS`` adds the specified option arguments to the completions list. -- ``-k`` or ``--keep-order`` preserves the order of the ``OPTION_ARGUMENTS`` specified via ``-a`` or ``--arguments`` instead of sorting alphabetically. +- ``-k`` or ``--keep-order`` preserves the order of the ``OPTION_ARGUMENTS`` specified via ``-a`` or ``--arguments`` instead of sorting alphabetically. Multiple ``complete`` calls with ``-k`` result in arguments of the later ones displayed first. - ``-f`` or ``--no-files`` specifies that the options specified by this completion may not be followed by a filename.