From 0952b2dfd48e72fa82430e4d58a923f594e43c69 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 7 May 2024 19:22:39 +0900 Subject: Rename --cursor-line to --highlight-line --- src/options.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/options.go') 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 -- cgit v1.2.3