mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-30 10:05:58 +00:00
Fix --header-lines unaffected by --with-nth
This commit is contained in:
1 parent
928fccc15b
commit
4e0e03403e
3 files changed
+22
-6
No files matched your search
+6
-2
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user