m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 17:13:42 -05:00

Fix --header-lines unaffected by --with-nth

This commit is contained in:
Junegunn Choi
2015-07-22 21:24:02 +09:00
parent 928fccc15b
commit 4e0e03403e
3 changed files with 22 additions and 6 deletions

View File

@@ -260,10 +260,14 @@ automatically truncated when the number of the lines exceeds the value.
.TP
.BI "--header-file=" "FILE"
The content of the file will be printed as the sticky header. The file can
span multiple lines and can contain ANSI color codes.
span multiple lines and can contain ANSI color codes. The lines in the file are
displayed from top to bottom regardless of \fB--reverse\fR, and are
not affected by \fB--with-nth\fR.
.TP
.BI "--header-lines=" "N"
The first N lines of the input are treated as the sticky header.
The first N lines of the input are treated as the sticky header. When
\fB--with-nth\fR is set, the lines are transformed just like the other
lines that follow.
.SS Scripting
.TP
.BI "-q, --query=" "STR"