Skip to content

Commit 1c473dd

Browse files
tomnorgitster
authored andcommitted
doc: remove dangling closing parenthesis
The second line of the synopsis, starting with [--dry-run] has a dangling closing paren in the second optional group. Probably added by mistake, so remove it. Signed-off-by: Tomas Nordin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c2b3f2b commit 1c473dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-commit.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 commit' [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]
12-
[--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]
12+
[--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>]
1313
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
1414
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
1515
[--date=<date>] [--cleanup=<mode>] [--[no-]status]

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
static const char * const builtin_commit_usage[] = {
4343
N_("git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n"
44-
" [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n"
44+
" [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>]\n"
4545
" [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n"
4646
" [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n"
4747
" [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n"

0 commit comments

Comments
 (0)