diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-07 19:22:39 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-07 19:22:39 +0900 |
| commit | 0952b2dfd48e72fa82430e4d58a923f594e43c69 (patch) | |
| tree | a1126d1c26fd5731c26f88553b50eee26e3bc292 /src/options.go | |
| parent | 4bedd33c593ab0cb750e17c42750048904fdf7fb (diff) | |
| download | fzf-0952b2dfd48e72fa82430e4d58a923f594e43c69.tar.gz | |
Rename --cursor-line to --highlight-line
Diffstat (limited to 'src/options.go')
| -rw-r--r-- | src/options.go | 6 |
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 |
