aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2010-07-26 22:40:32 -0700
committerJunio C Hamano <gitster@pobox.com>2010-07-27 09:44:17 -0700
commit49bb1f2ac6b6e5c7113241e066545802e5a14c9c (patch)
tree57e33ebfa92a0f4f662ddcfd2ef74c6c87076f2a /builtin
parentd3b9dd136ea5735c88a831b5a0f6f2e5dd623701 (diff)
downloadgit-49bb1f2ac6b6e5c7113241e066545802e5a14c9c.tar.gz
git-49bb1f2ac6b6e5c7113241e066545802e5a14c9c.tar.xz
commit: remove full stop from usage help for -u
From api-parse-options.txt: `description` is a short string to describe the effect of the option. It shall begin with a lower-case letter and a full stop (`.`) shall be omitted at the end. It also makes it less confusing if the argument is 'no.' or 'no'. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index a78dbd83b..2bb30c0e8 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -147,7 +147,7 @@ static struct option builtin_commit_options[] = {
"terminate entries with NUL"),
OPT_BOOLEAN(0, "amend", &amend, "amend previous commit"),
OPT_BOOLEAN(0, "no-post-rewrite", &no_post_rewrite, "bypass post-rewrite hook"),
- { OPTION_STRING, 'u', "untracked-files", &untracked_files_arg, "mode", "show untracked files, optional modes: all, normal, no. (Default: all)", PARSE_OPT_OPTARG, NULL, (intptr_t)"all" },
+ { OPTION_STRING, 'u', "untracked-files", &untracked_files_arg, "mode", "show untracked files, optional modes: all, normal, no (Default: all)", PARSE_OPT_OPTARG, NULL, (intptr_t)"all" },
/* end commit contents options */
{ OPTION_BOOLEAN, 0, "allow-empty", &allow_empty, NULL,