docs synopses: use parenthesis to indicate that short/long option pairs take same args

Matches Git, see for example the -O option in git-grep(1).
This commit is contained in:
Johannes Altmanninger
2022-01-09 09:01:51 +01:00
parent 4a4905aaa5
commit f8e8c23ac3
8 changed files with 17 additions and 17 deletions

View File

@@ -6,9 +6,9 @@ Synopsis
.. BEGIN SYNOPSIS
| ``string`` split [**-m** | **--max** *MAX*] [**-n** | **--no-empty**] [**-q** | **--quiet**]
| ``string`` split [(**-m** | **--max**) *MAX*] [**-n** | **--no-empty**] [**-q** | **--quiet**]
\ \ [**-r** | **--right**] *SEP* [*STRING*...]
| ``string`` split0 [**-m** | **--max** *MAX*] [**-n** | **--no-empty**] [**-q** | **--quiet**]
| ``string`` split0 [(**-m** | **--max**) *MAX*] [**-n** | **--no-empty**] [**-q** | **--quiet**]
\ \ [**-r** | **--right**] [*STRING*...]
.. END SYNOPSIS