From a7f45b05b731bd6bc84c675d29502a5cc8ec6c65 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 9 Jan 2022 11:49:03 +0100 Subject: [PATCH] history.rst: fix wrong subcommand name and unconventional braces For alteration we usually use "(a | b)", not "{a | b}". While at it, instead of writing 4/6 subcommands in one line, write them on separate lines, so it's very obvious that all these are separate subcommands. We mainly use the (a | b) syntax for long/short options. --- doc_src/cmds/history.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc_src/cmds/history.rst b/doc_src/cmds/history.rst index ab96488f9..e84277624 100644 --- a/doc_src/cmds/history.rst +++ b/doc_src/cmds/history.rst @@ -11,7 +11,10 @@ Synopsis \ \ [ *SEARCH_STRING...* ] | ``history`` **delete** [**--case-sensitive**] \ \ [**--exact** | **--prefix** | **--contains**] *SEARCH_STRING...* -| ``history`` { **merge** | **save** | **clear** | **clear_session** } +| ``history`` **merge** +| ``history`` **save** +| ``history`` **clear** +| ``history`` **clear-session** Description -----------