Skip to content

Commit 9f443f5

Browse files
jnavilagitster
authored andcommitted
doc: fix the bnf like style of some commands
In command line options, variables are entered between < and > Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 89eed6f commit 9f443f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-init.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ repository.
7070
+
7171
If this is reinitialization, the repository will be moved to the specified path.
7272

73-
-b <branch-name::
73+
-b <branch-name>::
7474
--initial-branch=<branch-name>::
7575

7676
Use the specified name for the initial branch in the newly created repository.

builtin/submodule--helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ static int module_summary(int argc, const char **argv, const char *prefix)
13081308
};
13091309

13101310
const char *const git_submodule_helper_usage[] = {
1311-
N_("git submodule--helper summary [<options>] [commit] [--] [<path>]"),
1311+
N_("git submodule--helper summary [<options>] [<commit>] [--] [<path>]"),
13121312
NULL
13131313
};
13141314

0 commit comments

Comments
 (0)