From a26a909af0cd7e75af4b7fa5a209301455a33c36 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Sun, 1 Feb 2015 19:21:59 +0100 Subject: [PATCH] Fix the lastlog help Correct some confusing inaccuracies and document a parameters that got lost on the rewrite. --- docs/help/in/lastlog.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/help/in/lastlog.in b/docs/help/in/lastlog.in index bb3a6fee..3815f5d2 100644 --- a/docs/help/in/lastlog.in +++ b/docs/help/in/lastlog.in @@ -17,8 +17,11 @@ -regexp: The given text pattern is a regular expression. -word: The text must match full words. -force: Forces to display the lastlog, even if it exceeds 1000 lines. - -after: Only displays results after the given line number. - -before: Only displays results before the given line number. + -after: Include this many lines of content after the match. + -before: Include this many lines of content before the match. + -<#>: Include this many lines of content around the match. + : Display a maximum number of `count' lines. + : Skip the last `start' lines. The pattern to search for and the maximum of lines to display; if no parameter is given, the entire window buffer will be displayed. @@ -30,9 +33,10 @@ %9Examples:%9 /LASTLOG holiday - /LASTLOG 'is on vacation' + /LASTLOG 'is on vacation' 10 /LASTLOG -file -force ~/mike.log 'mike' /LASTLOG -hilight + /LASTLOG -5 searchterm %9See also:%9 HILIGHT, SCROLLBACK