From 35e1d1e2d8c2d783486cb99f429dd12f0ddf0495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rory=20O=E2=80=99Kane?= Date: Wed, 5 Apr 2017 12:16:29 -0400 Subject: [PATCH] Fix deprecated flags in `history` example in docs Update the Example section in the documentation for the `history` command so that it uses the subcommands instead of the deprecated long options. --- doc_src/history.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc_src/history.txt b/doc_src/history.txt index cc8d311a3..c7c30d59e 100644 --- a/doc_src/history.txt +++ b/doc_src/history.txt @@ -49,13 +49,13 @@ These flags can appear before or immediately after one of the sub-commands liste \subsection history-examples Example \fish -history --clear +history clear # Deletes all history items -history --search --contains "foo" +history search --contains "foo" # Outputs a list of all previous commands containing the string "foo". -history --delete --prefix "foo" +history delete --prefix "foo" # Interactively deletes commands which start with "foo" from the history. # You can select more than one entry by entering their IDs seperated by a space. \endfish