Skip to content

Commit 2b35a9f

Browse files
bk2204gitster
authored andcommitted
Documentation: use brackets for optional arguments
The documentation for git blame used vertical bars for optional arguments to -M and -C, which is unusual and potentially confusing. Since most man pages use brackets for optional items, and that's consistent with how we document the same options for git diff and friends, use brackets here, too. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0b65a8d commit 2b35a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/blame-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ include::line-range-format.txt[]
7676
terminal. Can't use `--progress` together with `--porcelain`
7777
or `--incremental`.
7878

79-
-M|<num>|::
79+
-M[<num>]::
8080
Detect moved or copied lines within a file. When a commit
8181
moves or copies a block of lines (e.g. the original file
8282
has A and then B, and the commit changes it to B and then
@@ -92,7 +92,7 @@ alphanumeric characters that Git must detect as moving/copying
9292
within a file for it to associate those lines with the parent
9393
commit. The default value is 20.
9494

95-
-C|<num>|::
95+
-C[<num>]::
9696
In addition to `-M`, detect lines moved or copied from other
9797
files that were modified in the same commit. This is
9898
useful when you reorganize your program and move code

0 commit comments

Comments
 (0)