]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: remove dangling closing parenthesis
authorTomas Nordin <tomasn@posteo.net>
Mon, 22 Jul 2024 22:53:02 +0000 (22:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jul 2024 00:32:36 +0000 (17:32 -0700)
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 <tomasn@posteo.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit.txt
builtin/commit.c

index 89ecfc63a8d07f655137b753b306cf22586334cd..c822113c111dedb55ed34e55bef66313f3105da7 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git commit' [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]
-          [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]
+          [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>]
           [-F <file> | -m <msg>] [--reset-author] [--allow-empty]
           [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
           [--date=<date>] [--cleanup=<mode>] [--[no-]status]
index 6e1484446b0cc2c98ccade5f8285ad81747c6416..7f9dd45d05221d6ba607d4f53ab78b9696685b4c 100644 (file)
@@ -41,7 +41,7 @@
 
 static const char * const builtin_commit_usage[] = {
        N_("git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n"
-          "           [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n"
+          "           [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>]\n"
           "           [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n"
           "           [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n"
           "           [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n"