From 12cfaec0c99651a3924eb586cd0af9f66d7f62f6 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 24 Mar 2022 20:11:21 +0100 Subject: [PATCH] Put funcsave long option back This reverts ed8c78c0ea1e19cbf0e8898f7b060a450598df56, emphatically. Fixes #8830 (cherry picked from commit 2c702de52c7864e4e74110d0c95dda9b2192f819) --- doc_src/cmds/funcsave.rst | 2 +- share/functions/funcsave.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/funcsave.rst b/doc_src/cmds/funcsave.rst index 76b3a0dde..74b407258 100644 --- a/doc_src/cmds/funcsave.rst +++ b/doc_src/cmds/funcsave.rst @@ -9,7 +9,7 @@ Synopsis .. synopsis:: funcsave FUNCTION_NAME - funcsave [-q] [(-d | --directory) DIR] FUNCTION_NAME + funcsave [-q | --quiet] [(-d | --directory) DIR] FUNCTION_NAME Description diff --git a/share/functions/funcsave.fish b/share/functions/funcsave.fish index 7a5c623c2..ec24bd283 100644 --- a/share/functions/funcsave.fish +++ b/share/functions/funcsave.fish @@ -1,5 +1,5 @@ function funcsave --description "Save the current definition of all specified functions to file" - set -l options q h/help d/directory= + set -l options q/quiet h/help d/directory= argparse -n funcsave $options -- $argv or return