]> git.ipfire.org Git - thirdparty/git.git/commitdiff
blame-options.txt: explain that -L <start> and <end> are optional
authorEric Sunshine <sunshine@sunshineco.com>
Wed, 17 Jul 2013 21:25:32 +0000 (17:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jul 2013 01:02:22 +0000 (18:02 -0700)
The ability to omit either end of the -L range is a handy but
undocumented shortcut, and is thus not easily discovered. Fix this
shortcoming.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/blame-options.txt

index 624b3532a236709d5692e523be084534e367c90c..4e55b1564e8ad6526c53f797141cfccd83648fc7 100644 (file)
 
 -L <start>,<end>::
 -L :<regex>::
-       Annotate only the given line range.  <start> and <end> can take
-       one of these forms:
+       Annotate only the given line range.  <start> and <end> are optional.
+       ``-L <start>'' or ``-L <start>,'' spans from <start> to end of file.
+       ``-L ,<end>'' spans from start of file to <end>.
++
+<start> and <end> can take one of these forms:
 
 include::line-range-format.txt[]