Skip to content

Commit f448e24

Browse files
amenonsengitster
authored andcommitted
Make the DESCRIPTION match <x>... items in the SYNOPSIS
When the SYNOPSIS says e.g. "<path>...", it is nice if the DESCRIPTION also mentions "<path>..." and says the specified "paths" (note plural) are used for $whatever. This fixes the obvious mismatches. Signed-off-by: Abhijit Menon-Sen <ams@toroid.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 0e25790 commit f448e24

File tree

11 files changed

+20
-20
lines changed

11 files changed

+20
-20
lines changed

Documentation/git-clean.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ git-clean - Remove untracked files from the working tree
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git clean' [-d] [-f] [-n] [-q] [-x | -X] [--] <paths>...
11+
'git clean' [-d] [-f] [-n] [-q] [-x | -X] [--] <path>...
1212

1313
DESCRIPTION
1414
-----------
1515
Removes files unknown to git. This allows to clean the working tree
1616
from files that are not under version control. If the '-x' option is
1717
specified, ignored files are also removed, allowing to remove all
1818
build products.
19-
When optional `<paths>...` arguments are given, the paths
20-
affected are further limited to those that match them.
19+
If any optional `<path>...` arguments are given, only those paths
20+
are affected.
2121

2222

2323
OPTIONS

Documentation/git-describe.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ abbreviated object name of the most recent commit.
2121

2222
OPTIONS
2323
-------
24-
<committish>::
25-
The object name of the committish.
24+
<committish>...::
25+
Committish object names to describe.
2626

2727
--all::
2828
Instead of using only the annotated tags, use any ref

Documentation/git-filter-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ to other tags will be rewritten to point to the underlying commit.
167167
directory or when there are already refs starting with
168168
'refs/original/', unless forced.
169169

170-
<rev-list-options>::
170+
<rev-list options>...::
171171
When options are given after the new branch name, they will
172172
be passed to 'git-rev-list'. Only commits in the resulting
173173
output will be filtered, although the filtered commits can still

Documentation/git-for-each-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ OPTIONS
4747
`xx`; for example `%00` interpolates to `\0` (NUL),
4848
`%09` to `\t` (TAB) and `%0a` to `\n` (LF).
4949

50-
<pattern>::
50+
<pattern>...::
5151
If one or more patterns are given, only refs are shown that
5252
match againt at least one pattern, either using fnmatch(3) or
5353
literally, in the latter case matching completely or from the

Documentation/git-log.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ include::diff-options.txt[]
4141
Print out the ref names of any commits that are shown.
4242

4343
--full-diff::
44-
Without this flag, "git log -p <paths>..." shows commits that
44+
Without this flag, "git log -p <path>..." shows commits that
4545
touch the specified paths, and diffs about the same specified
4646
paths. With this, the full diff is shown for commits that touch
47-
the specified paths; this means that "<paths>..." limits only
47+
the specified paths; this means that "<path>..." limits only
4848
commits, and doesn't limit diff for those commits.
4949

5050
--follow::
@@ -57,7 +57,7 @@ include::diff-options.txt[]
5757
Note that only message is considered, if also a diff is shown
5858
its size is not included.
5959

60-
<paths>...::
60+
<path>...::
6161
Show only commits that affect any of the specified paths.
6262

6363

Documentation/git-merge.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ include::merge-options.txt[]
3232
it is created). The 'git-fmt-merge-msg' script can be used
3333
to give a good default for automated 'git-merge' invocations.
3434

35-
<remote>::
36-
Other branch head merged into our branch. You need at
35+
<remote>...::
36+
Other branch heads to merge into our branch. You need at
3737
least one <remote>. Specifying more than one <remote>
3838
obviously means you are trying an Octopus.
3939

Documentation/git-show-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ OPTIONS
8484
(5) otherwise output the line.
8585

8686

87-
<pattern>::
87+
<pattern>...::
8888

8989
Show references matching one or more patterns.
9090

Documentation/git-show.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ This manual page describes only the most frequently used options.
3333

3434
OPTIONS
3535
-------
36-
<object>::
37-
The name of the object to show.
36+
<object>...::
37+
The names of objects to show.
3838
For a more complete list of ways to spell object names, see
3939
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
4040

Documentation/git-submodule.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ OPTIONS
146146
(the default). This limit only applies to modified submodules. The
147147
size is always limited to 1 for added/deleted/typechanged submodules.
148148

149-
<path>::
150-
Path to submodule(s). When specified this will restrict the command
149+
<path>...::
150+
Paths to submodule(s). When specified this will restrict the command
151151
to only operate on the submodules found at the specified paths.
152152
(This argument is required with add).
153153

Documentation/git-verify-tag.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Validates the gpg signature created by 'git-tag'.
1515

1616
OPTIONS
1717
-------
18-
<tag>::
19-
SHA1 identifier of a git tag object.
18+
<tag>...::
19+
SHA1 identifiers of git tag objects.
2020

2121
Author
2222
------

0 commit comments

Comments
 (0)