Skip to content
Myr

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

2 files+30 added−30 removed

modified:man/man1/fzf.1+28 added-28 removed
119 unmodified lines
120Display finder info inline with the query121.TP122.BI "--prompt=" "STR"123Input prompt (default: '> ')124.SS Scripting124.TP126.BI "-q, --query=" "STR"127Start the finder with the given query128.TP129.B "-1, --select-1"130Automatically select the only match131.TP132.B "-0, --exit-0"133Exit immediately when there's no match134.TP135.BI "-f, --filter=" "STR"136Filter mode. Do not start interactive finder. When used with \fB--no-sort\fR,137fzf becomes a fuzzy-version of grep.138.TP139.B "--print-query"140Print query as the first line141.TP142.BI "--expect=" "KEY[,..]"143Comma-separated list of keys (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,144or any single character) that can be used to complete fzf in addition to the145default enter key. When this option is set, fzf will print the name of the key146pressed 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 completed148with the default enter key.149.RS150e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR151.RE152.TP125.BI "--toggle-sort=" "KEY"126Key to toggle sort (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,127or any single character)128.TP
36 unmodified lines
165 unix-word-rubout166 up167 yank168.RE169.SS Scripting170.TP171.BI "-q, --query=" "STR"172Start the finder with the given query173.TP174.B "-1, --select-1"175Automatically select the only match176.TP177.B "-0, --exit-0"178Exit immediately when there's no match179.TP180.BI "-f, --filter=" "STR"181Filter mode. Do not start interactive finder. When used with \fB--no-sort\fR,182fzf becomes a fuzzy-version of grep.183.TP184.B "--print-query"185Print query as the first line186.TP187.BI "--expect=" "KEY[,..]"188Comma-separated list of keys (\fIctrl-[a-z]\fR, \fIalt-[a-z]\fR, \fIf[1-4]\fR,189or any single character) that can be used to complete fzf in addition to the190default enter key. When this option is set, fzf will print the name of the key191pressed 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 completed193with the default enter key.194.RS195e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR196.RE197.TP198.B "--sync"199Synchronous search for multi-staged filtering. If specified, fzf will launch200ncurses finder only after the input stream is complete.201.RS
73 unmodified lines
modified:src/options.go+2 added-2 removed
40 unmodified lines
41 --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.4748 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 filtering5657 Environment variables58 FZF_DEFAULT_COMMAND Default command to use when input is tty
471 unmodified lines