[PATCH 6/6] blame-options.txt: explain that -L <start> and <end> are optional
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jul 17, 2013, 21:25 UTC
- Message-ID
- <1374096332-7891-7-git-send-email-sunshine@sunshineco.com>
- In-Reply-To
- <1374096332-7891-1-git-send-email-sunshine@sunshineco.com>
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> --- Documentation/blame-options.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/blame-options.txt b/Documentation/blame-options.txt index 624b353..4e55b15 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[]
-- 1.8.3.3.1016.g4f0baba