blame-options.txt: explain that -L <start> and <end> are optional
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>
Eric Sunshine committed
Jul 17, 2013 at 17:25 UTC
df83d5cf6759541d6f3d94b29a91fd0d3e5dbcd5
1 file changed
+5
-2
Documentation/blame-options.txt
+5
-2
@@ -11,8 +11,11 @@
11
12
-L <start>,<end>::
13
-L :<regex>::
14
- Annotate only the given line range. <start> and <end> can take
15
- one of these forms:
14
+ Annotate only the given line range. <start> and <end> are optional.
15
+ ``-L <start>'' or ``-L <start>,'' spans from <start> to end of file.
16
+ ``-L ,<end>'' spans from start of file to <end>.
17
++
18
+<start> and <end> can take one of these forms:
19
20
include::line-range-format.txt[]
21