m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-15 23:03:47 -05:00

Rename --cursor-line to --highlight-line

This commit is contained in:
Junegunn Choi
2024-05-07 19:22:39 +09:00
parent 4bedd33c59
commit 0952b2dfd4
3 changed files with 7 additions and 7 deletions

View File

@@ -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