history.rst: fix BNF syntax for orthogonal options

These can be used alone, or in combination, let's reflect that in
the synopsis.
This commit is contained in:
Johannes Altmanninger 2022-01-09 09:08:10 +01:00
parent a7f45b05b7
commit dd8351d1b4

View file

@ -6,8 +6,8 @@ history - show and manipulate command history
Synopsis
--------
| ``history`` [**search**] [**--show-time** **--case-sensitive**]
\ \ [**--exact** | **--prefix** | **--contains**] [**--max** *n*] [**--null** **--reverse**]
| ``history`` [**search**] [**--show-time**] [**--case-sensitive**]
\ \ [**--exact** | **--prefix** | **--contains**] [**--max** *n*] [**--null**] [**--reverse**]
\ \ [ *SEARCH_STRING...* ]
| ``history`` **delete** [**--case-sensitive**]
\ \ [**--exact** | **--prefix** | **--contains**] *SEARCH_STRING...*