Skip to content

Commit 0adda93

Browse files
Štěpán Němecgitster
authored andcommitted
Use parentheses and `...' where appropriate
Remove some stray usage of other bracket types and asterisks for the same purpose. Signed-off-by: Štěpán Němec <[email protected]> Acked-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 01398df commit 0adda93

31 files changed

+33
-33
lines changed

Documentation/git-am.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SYNOPSIS
1414
[--ignore-date] [--ignore-space-change | --ignore-whitespace]
1515
[--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]
1616
[--reject] [-q | --quiet] [--scissors | --no-scissors]
17-
[<mbox> | <Maildir>...]
17+
[(<mbox> | <Maildir>)...]
1818
'git am' (--continue | --skip | --abort)
1919

2020
DESCRIPTION
@@ -25,7 +25,7 @@ current branch.
2525

2626
OPTIONS
2727
-------
28-
<mbox>|<Maildir>...::
28+
(<mbox>|<Maildir>)...::
2929
The list of mailbox files to read patches from. If you do not
3030
supply this argument, the command reads from the standard input.
3131
If you supply directories, they will be treated as Maildirs.

Documentation/git-apply.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SYNOPSIS
1414
[--allow-binary-replacement | --binary] [--reject] [-z]
1515
[-p<n>] [-C<n>] [--inaccurate-eof] [--recount] [--cached]
1616
[--ignore-space-change | --ignore-whitespace ]
17-
[--whitespace=<nowarn|warn|fix|error|error-all>]
17+
[--whitespace=(nowarn|warn|fix|error|error-all)]
1818
[--exclude=<path>] [--include=<path>] [--directory=<root>]
1919
[--verbose] [<patch>...]
2020

Documentation/git-checkout-index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SYNOPSIS
1313
[--stage=<number>|all]
1414
[--temp]
1515
[-z] [--stdin]
16-
[--] [<file>]*
16+
[--] [<file>...]
1717

1818
DESCRIPTION
1919
-----------

Documentation/git-commit-tree.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ git-commit-tree - Create a new commit object
88

99
SYNOPSIS
1010
--------
11-
'git commit-tree' <tree> [-p <parent commit>]* < changelog
11+
'git commit-tree' <tree> [(-p <parent commit>)...] < changelog
1212

1313
DESCRIPTION
1414
-----------

Documentation/git-fetch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SYNOPSIS
1212

1313
'git fetch' [<options>] <group>
1414

15-
'git fetch' --multiple [<options>] [<repository> | <group>]...
15+
'git fetch' --multiple [<options>] [(<repository> | <group>)...]
1616

1717
'git fetch' --all [<options>]
1818

Documentation/git-filter-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ OPTIONS
117117
This is the filter for performing the commit.
118118
If this filter is specified, it will be called instead of the
119119
'git commit-tree' command, with arguments of the form
120-
"<TREE_ID> [-p <PARENT_COMMIT_ID>]..." and the log message on
120+
"<TREE_ID> [(-p <PARENT_COMMIT_ID>)...]" and the log message on
121121
stdin. The commit id is expected on stdout.
122122
+
123123
As a special extension, the commit filter may emit multiple

Documentation/git-for-each-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git for-each-ref' [--count=<count>] [--shell|--perl|--python|--tcl]
12-
[--sort=<key>]* [--format=<format>] [<pattern>...]
12+
[(--sort=<key>)...] [--format=<format>] [<pattern>...]
1313

1414
DESCRIPTION
1515
-----------

Documentation/git-init.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ current working directory.
3131
Specify the directory from which templates will be used. (See the "TEMPLATE
3232
DIRECTORY" section below.)
3333

34-
--shared[={false|true|umask|group|all|world|everybody|0xxx}]::
34+
--shared[=(false|true|umask|group|all|world|everybody|0xxx)]::
3535

3636
Specify that the git repository is to be shared amongst several users. This
3737
allows users belonging to the same group to push into that

Documentation/git-ls-files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SYNOPSIS
1717
[--exclude-per-directory=<file>]
1818
[--exclude-standard]
1919
[--error-unmatch] [--with-tree=<tree-ish>]
20-
[--full-name] [--abbrev] [--] [<file>]*
20+
[--full-name] [--abbrev] [--] [<file>...]
2121

2222
DESCRIPTION
2323
-----------

Documentation/git-mailsplit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ git-mailsplit - Simple UNIX mbox splitter program
77

88
SYNOPSIS
99
--------
10-
'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--] [<mbox>|<Maildir>...]
10+
'git mailsplit' [-b] [-f<nn>] [-d<prec>] [--keep-cr] -o<directory> [--] [(<mbox>|<Maildir>)...]
1111

1212
DESCRIPTION
1313
-----------

0 commit comments

Comments
 (0)