diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2025-01-15 20:23:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-15 14:43:36 -0800 |
commit | d533c1069724d39153f5ae78f2c3a3f2b6a5a6e2 (patch) | |
tree | 4f11151baaa3db01144aa349f1e21a841d8fc071 /builtin/commit.c | |
parent | be2ea674ccb2492de9cb9a5d55b88396001eda2d (diff) |
doc: the mode param of -u of git commit is optional
Fix the synopsis to reflect the option description.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index ef5e622c07..a7315ed67c 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -44,7 +44,7 @@ #include "trailer.h" static const char * const builtin_commit_usage[] = { - N_("git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n" + N_("git commit [-a | --interactive | --patch] [-s] [-v] [-u[<mode>]] [--amend]\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" |