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.
This commit is contained in:
Johannes Altmanninger 2022-01-09 11:49:03 +01:00
parent 0d6bad9660
commit a7f45b05b7

View file

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