Skip to content

Commit

Permalink
blame-options.txt: explain that -L <start> and <end> are optional
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Sunshine authored and Junio C Hamano committed Jul 18, 2013
1 parent e6d2b9f commit df83d5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Documentation/blame-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@

-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[]

Expand Down

0 comments on commit df83d5c

Please sign in to comment.