From 9850f8d18ab45a7a8263fd76e078de80795ccb8a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 14 Apr 2021 21:46:24 +0200 Subject: [PATCH] docs: Update status docs `status --current-function` is not a thing. --- doc_src/cmds/status.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/status.rst b/doc_src/cmds/status.rst index 67738e836..760023ac8 100644 --- a/doc_src/cmds/status.rst +++ b/doc_src/cmds/status.rst @@ -63,7 +63,7 @@ The following operations (sub-commands) are available: - ``fish-path`` prints the absolute path to the currently executing instance of fish. - ``function`` prints the name of the currently called function if able, when missing displays "Not a - function" (or equivalent translated string). Also ``current-function``, ``-u`` or ``--current-function``. + function" (or equivalent translated string). Also ``current-function``. - ``line-number`` prints the line number of the currently running script. Also ``current-line-number``, ``-n`` or ``--current-line-number``. @@ -78,6 +78,6 @@ The following operations (sub-commands) are available: Notes ----- -For backwards compatibility each subcommand can also be specified as a long or short option. For example, rather than ``status is-login`` you can type ``status --is-login``. The flag forms are deprecated and may be removed in a future release (but not before fish 3.0). +For backwards compatibility most subcommands can also be specified as a long or short option. For example, rather than ``status is-login`` you can type ``status --is-login``. The flag forms are deprecated and may be removed in a future release (but not before fish 4.0). You can only specify one subcommand per invocation even if you use the flag form of the subcommand.