docs synopses: remove unconventional spaces inside [] and ()

We usually write "[a | b]", not "[ a | b ]".
This commit is contained in:
Johannes Altmanninger 2022-01-09 10:00:47 +01:00
parent ad4530acd3
commit 78101364c3
9 changed files with 15 additions and 15 deletions

View file

@ -6,7 +6,7 @@ command - run a program
Synopsis
--------
**command** [ **OPTIONS** ] [*COMMANDNAME* [ARG ...]]
**command** [**OPTIONS**] [*COMMANDNAME* [ARG ...]]
Description
-----------

View file

@ -6,7 +6,7 @@ disown - remove a process from the list of jobs
Synopsis
--------
``disown`` [ **PID** ... ]
``disown`` [**PID** ...]
Description
-----------

View file

@ -5,8 +5,8 @@ fish_opt - create an option spec for the argparse command
Synopsis
--------
| ``fish_opt`` [ **--help** ]
| ``fish_opt`` [ (**-slor**, **--multiple-vals=**) *optname*]
| ``fish_opt`` [**--help**]
| ``fish_opt`` [(**-slor**, **--multiple-vals=**) *optname*]
Description
-----------

View file

@ -6,11 +6,11 @@ functions - print or erase functions
Synopsis
--------
| **functions** [ **-a** | **--all** ] [ **-n** | **--names** ]
| **functions** [ **-D** | **--details** ] [ **-v** ] *FUNCTION*
| **functions** [**-a** | **--all**] [**-n** | **--names**]
| **functions** [**-D** | **--details**] [**-v**] *FUNCTION*
| **functions** **-c** *OLDNAME* *NEWNAME*
| **functions** **-d** *DESCRIPTION* *FUNCTION*
| **functions** [ **-e** | **-q** ] *FUNCTION ...*
| **functions** [**-e** | **-q**] *FUNCTION ...*
Description
-----------

View file

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

View file

@ -6,7 +6,7 @@ jobs - print currently running jobs
Synopsis
--------
``jobs`` [*OPTIONS*] [ *PID* | %*JOBID* ]
``jobs`` [*OPTIONS*] [*PID* | %*JOBID*]
Description

View file

@ -6,7 +6,7 @@ nextd - move forward through directory history
Synopsis
--------
``nextd`` [ **-l** | **--list** ] [*POS*]
``nextd`` [**-l** | **--list**] [*POS*]
Description
-----------

View file

@ -6,7 +6,7 @@ prevd - move backward through directory history
Synopsis
--------
``prevd`` [ **-l** | **--list** ] [*POS*]
``prevd`` [**-l** | **--list**] [*POS*]
Description
-----------

View file

@ -9,10 +9,10 @@ Synopsis
| ``set`` [*scope options*]
| ``set`` [*options*] *VARIABLE* *VALUES* ...
| ``set`` [*options*] *VARIABLE*\[*INDICES*] *VALUES* ...
| ``set`` ( **-q** | **--query** ) [*scope options*] *VARIABLE* ...
| ``set`` ( **-e** | **--erase** ) [*scope options*] *VARIABLE* ...
| ``set`` ( **-e** | **--erase** ) [*scope options*] *VARIABLE*\[*INDICES*] ...
| ``set`` ( **-S** | **--show** ) *VARIABLE* ...
| ``set`` (**-q** | **--query**) [*scope options*] *VARIABLE* ...
| ``set`` (**-e** | **--erase**) [*scope options*] *VARIABLE* ...
| ``set`` (**-e** | **--erase**) [*scope options*] *VARIABLE*\[*INDICES*] ...
| ``set`` (**-S** | **--show**) *VARIABLE* ...
Description
-----------