From da2c28d5c225d7ba8647dbf50825a83d475ed83c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 26 Jan 2017 11:41:20 +0900 Subject: [PATCH] Add --read0 and --print0 to --help output Close #822 --- man/man1/fzf.1 | 4 ++-- src/options.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 3ac07a4..f6bab4c 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -323,10 +323,10 @@ e.g. \fBfzf --expect=ctrl-v,ctrl-t,alt-s,f1,f2,~,@\fR .RE .TP .B "--read0" -Read input delimited by ASCII NUL character instead of newline character +Read input delimited by ASCII NUL characters instead of newline characters .TP .B "--print0" -Print output delimited by ASCII NUL character instead of newline character +Print output delimited by ASCII NUL characters instead of newline characters .TP .B "--sync" Synchronous search for multi-staged filtering. If specified, fzf will launch diff --git a/src/options.go b/src/options.go index 2e96c2c..9d8bb89 100644 --- a/src/options.go +++ b/src/options.go @@ -82,6 +82,8 @@ const usage = `usage: fzf [options] -f, --filter=STR Filter mode. Do not start interactive finder. --print-query Print query as the first line --expect=KEYS Comma-separated list of keys to complete fzf + --read0 Read input delimited by ASCII NUL characters + --print0 Print output delimited by ASCII NUL characters --sync Synchronous search for multi-staged filtering Environment variables