Add --version to --help output and man page

Close #888
Close #894
pull/895/head
Junegunn Choi 7 years ago
parent 0fe07cf9fe
commit 9078197446
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -352,6 +352,9 @@ ncurses finder only after the input stream is complete.
.RS
e.g. \fBfzf --multi | fzf --sync\fR
.RE
.TP
.B "--version"
Display version information and exit
.SH ENVIRONMENT VARIABLES
.TP

@ -86,6 +86,7 @@ const usage = `usage: fzf [options]
--read0 Read input delimited by ASCII NUL characters
--print0 Print output delimited by ASCII NUL characters
--sync Synchronous search for multi-staged filtering
--version Display version information and exit
Environment variables
FZF_DEFAULT_COMMAND Default command to use when input is tty

Loading…
Cancel
Save