Update --help
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Junegunn Choi · committed by Junegunn Choi · parent 801cf9a · Browse files · 2 files·+30 added−30 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+30 added−30 removed
- other:+30 added−30 removed
Provenance
- Commit
3cdf718- Tree
5097d25- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
801cf9a
2 files changed+30 added−30 removed
modified:man/man1/fzf.1+28 added-28 removed
119 unmodified lines120 Display finder info inline with the query121 .TP122 .BI "--prompt=" "STR"123 Input prompt (default: '> ')124-.SS Scripting124 .TP126-.BI "-q, --query=" "STR"127-Start the finder with the given query128-.TP129-.B "-1, --select-1"130-Automatically select the only match131-.TP132-.B "-0, --exit-0"133-Exit immediately when there's no match134-.TP135-.BI "-f, --filter=" "STR"136-Filter mode. Do not start interactive finder. When used with \fB--no-sort\fR,137-fzf becomes a fuzzy-version of grep.138-.TP139-.B "--print-query"140-Print query as the first line141-.TP142-.BI "--expect=" "KEY[,..]"143-Comma-separated list of keys (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,144-or any single character) that can be used to complete fzf in addition to the145-default enter key. When this option is set, fzf will print the name of the key146-pressed as the first line of its output (or as the second line if147-\fB--print-query\fR is also used). The line will be empty if fzf is completed148-with the default enter key.149-.RS150-e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR151-.RE152-.TP125 .BI "--toggle-sort=" "KEY"126 Key to toggle sort (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,127 or any single character)128 .TP36 unmodified lines165 unix-word-rubout166 up167 yank168 .RE169+.SS Scripting170 .TP171+.BI "-q, --query=" "STR"172+Start the finder with the given query173+.TP174+.B "-1, --select-1"175+Automatically select the only match176+.TP177+.B "-0, --exit-0"178+Exit immediately when there's no match179+.TP180+.BI "-f, --filter=" "STR"181+Filter mode. Do not start interactive finder. When used with \fB--no-sort\fR,182+fzf becomes a fuzzy-version of grep.183+.TP184+.B "--print-query"185+Print query as the first line186+.TP187+.BI "--expect=" "KEY[,..]"188+Comma-separated list of keys (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,189+or any single character) that can be used to complete fzf in addition to the190+default enter key. When this option is set, fzf will print the name of the key191+pressed as the first line of its output (or as the second line if192+\fB--print-query\fR is also used). The line will be empty if fzf is completed193+with the default enter key.194+.RS195+e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR196+.RE197+.TP198 .B "--sync"199 Synchronous search for multi-staged filtering. If specified, fzf will launch200 ncurses finder only after the input stream is complete.201 .RS73 unmodified linesmodified:src/options.go+2 added-2 removed
40 unmodified lines41 --reverse Reverse orientation42 --no-hscroll Disable horizontal scroll43 --inline-info Display finder info inline with the query44 --prompt=STR Input prompt (default: '> ')45+ --toggle-sort=KEY Key to toggle sort46+ --bind=KEYBINDS Custom key bindings. Refer to the man page.47 48 Scripting49 -q, --query=STR Start the finder with the given query50 -1, --select-1 Automatically select the only match51 -0, --exit-0 Exit immediately when there's no match52 -f, --filter=STR Filter mode. Do not start interactive finder.53 --print-query Print query as the first line54 --expect=KEYS Comma-separated list of keys to complete fzf53- --toggle-sort=KEY Key to toggle sort54- --bind=KEYBINDS Custom key bindings. Refer to the man page.55 --sync Synchronous search for multi-staged filtering56 57 Environment variables58 FZF_DEFAULT_COMMAND Default command to use when input is tty471 unmodified lines