mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
docs synopses: remove unconventional spaces inside [] and ()
We usually write "[a | b]", not "[ a | b ]".
This commit is contained in:
parent
ad4530acd3
commit
78101364c3
9 changed files with 15 additions and 15 deletions
|
@ -6,7 +6,7 @@ command - run a program
|
|||
Synopsis
|
||||
--------
|
||||
|
||||
**command** [ **OPTIONS** ] [*COMMANDNAME* [ARG ...]]
|
||||
**command** [**OPTIONS**] [*COMMANDNAME* [ARG ...]]
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
|
|
@ -6,7 +6,7 @@ disown - remove a process from the list of jobs
|
|||
Synopsis
|
||||
--------
|
||||
|
||||
``disown`` [ **PID** ... ]
|
||||
``disown`` [**PID** ...]
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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**
|
||||
|
|
|
@ -6,7 +6,7 @@ jobs - print currently running jobs
|
|||
Synopsis
|
||||
--------
|
||||
|
||||
``jobs`` [*OPTIONS*] [ *PID* | %*JOBID* ]
|
||||
``jobs`` [*OPTIONS*] [*PID* | %*JOBID*]
|
||||
|
||||
|
||||
Description
|
||||
|
|
|
@ -6,7 +6,7 @@ nextd - move forward through directory history
|
|||
Synopsis
|
||||
--------
|
||||
|
||||
``nextd`` [ **-l** | **--list** ] [*POS*]
|
||||
``nextd`` [**-l** | **--list**] [*POS*]
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
|
|
@ -6,7 +6,7 @@ prevd - move backward through directory history
|
|||
Synopsis
|
||||
--------
|
||||
|
||||
``prevd`` [ **-l** | **--list** ] [*POS*]
|
||||
``prevd`` [**-l** | **--list**] [*POS*]
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
-----------
|
||||
|
|
Loading…
Reference in a new issue