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 | blame-options.txt: place each -L option variation on its own line (diff) | |
download | tgif-df83d5cf6759541d6f3d94b29a91fd0d3e5dbcd5.tar.xz |
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[] |