summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-06-19 17:00:30 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-06-19 17:01:35 +0900
commitc54ad82e8db05cb6a2a57af08b5115efe0f21cd5 (patch)
treeef2a9f917d198a6d3ee6dd6ca684882a51be4645
parent295b89631b5baf1ca88d1b143805c73c7bff6a89 (diff)
Clarify that --nth applies after --with-nth transformation
Close #3873
-rw-r--r--man/man1/fzf.16
1 files changed, 5 insertions, 1 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 94b7c1c3..df0bcb5b 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -100,7 +100,11 @@ Fuzzy matching algorithm (default: v2)
.TP
.BI "-n, --nth=" "N[,..]"
Comma-separated list of field index expressions for limiting search scope.
-See \fBFIELD INDEX EXPRESSION\fR for the details.
+See \fBFIELD INDEX EXPRESSION\fR for the details. When you use this option with
+\fB--with-nth\fR, the field index expressions are calculated against the
+transformed lines (unlike in \fB--preview\fR where fields are extracted from
+the original lines) because fzf doesn't allow searching against the hidden
+fields.
.TP
.BI "--with-nth=" "N[,..]"
Transform the presentation of each line using field index expressions