]> git.ipfire.org Git - thirdparty/git.git/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 f35f70f13d0385e24ba2c0727e3720b4a068a048..59ecda6c17d0125716e3ed108fa5935a4327a3fc 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 de5ad73bb8d51209d36a01247ba67b233a54f944..c30896c8978873c6fe8f3dbcc5897c111c271d7d 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
        };