docs: Document that complete -k does last calls first

Fixes #5868.

[ci skip]
This commit is contained in:
Fabian Homborg 2019-05-10 15:38:54 +02:00
parent 50ed5126f1
commit 3262c5ff44

View file

@ -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.