summaryrefslogtreecommitdiff
path: root/src/options.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-07 19:22:39 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-07 19:22:39 +0900
commit0952b2dfd48e72fa82430e4d58a923f594e43c69 (patch)
treea1126d1c26fd5731c26f88553b50eee26e3bc292 /src/options.go
parent4bedd33c593ab0cb750e17c42750048904fdf7fb (diff)
downloadfzf-0952b2dfd48e72fa82430e4d58a923f594e43c69.tar.gz
Rename --cursor-line to --highlight-line
Diffstat (limited to 'src/options.go')
-rw-r--r--src/options.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/options.go b/src/options.go
index fda51cba..e2ddca6b 100644
--- a/src/options.go
+++ b/src/options.go
@@ -92,7 +92,7 @@ const Usage = `usage: fzf [options]
--ansi Enable processing of ANSI color codes
--tabstop=SPACES Number of spaces for a tab character (default: 8)
--color=COLSPEC Base scheme (dark|light|16|bw) and/or custom colors
- --cursor-line Highlight the whole current line
+ --highlight-line Highlight the whole current line
--no-bold Do not use bold text
History
@@ -1950,9 +1950,9 @@ func parseOptions(opts *Options, allArgs []string) error {
opts.Layout = layoutDefault
case "--cycle":
opts.Cycle = true
- case "--cursor-line":
+ case "--highlight-line":
opts.CursorLine = true
- case "--no-cursor-line":
+ case "--no-highlight-line":
opts.CursorLine = false
case "--no-cycle":
opts.Cycle = false