diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-17 17:25:32 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 18:02:22 -0700 |
commit | df83d5cf6759541d6f3d94b29a91fd0d3e5dbcd5 (patch) | |
tree | 1c9105e3a1be735054d844d8890d3529fff637a7 /Documentation/blame-options.txt | |
parent | e6d2b9f6e7670e64e1d79b95205fe2fb32f990c2 (diff) | |
download | git-df83d5cf6759541d6f3d94b29a91fd0d3e5dbcd5.tar.gz |
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>
Diffstat (limited to 'Documentation/blame-options.txt')
-rw-r--r-- | Documentation/blame-options.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/blame-options.txt b/Documentation/blame-options.txt index 624b3532a2..4e55b1564e 100644 --- a/Documentation/blame-options.txt +++ b/Documentation/blame-options.txt @@ -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[] |