]> Kevux Git Server - rit/commitdiff
doc: fix the bnf like style of some commands
authorJean-Noël Avila <jn.avila@free.fr>
Thu, 8 Oct 2020 20:23:57 +0000 (22:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Oct 2020 21:01:19 +0000 (14:01 -0700)
In command line options, variables are entered between < and >

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-init.txt
builtin/submodule--helper.c

index f35f70f..59ecda6 100644 (file)
@@ -70,7 +70,7 @@ repository.
 +
 If this is reinitialization, the repository will be moved to the specified path.
 
--b <branch-name::
+-b <branch-name>::
 --initial-branch=<branch-name>::
 
 Use the specified name for the initial branch in the newly created repository.
index de5ad73..c30896c 100644 (file)
@@ -1308,7 +1308,7 @@ static int module_summary(int argc, const char **argv, const char *prefix)
        };
 
        const char *const git_submodule_helper_usage[] = {
-               N_("git submodule--helper summary [<options>] [commit] [--] [<path>]"),
+               N_("git submodule--helper summary [<options>] [<commit>] [--] [<path>]"),
                NULL
        };