Add -f (--filter) option (#15)

This commit adds --filter option so that fzf can be used as a simple unix
filter instead of being an interactive fuzzy finder.
This commit is contained in:
Junegunn Choi
2014-02-02 01:45:44 +09:00
parent 1155da7e1c
commit 301290663d
3 changed files with 62 additions and 31 deletions

View File

@@ -55,6 +55,7 @@ usage: fzf [options]
-m, --multi Enable multi-select
-x, --extended Extended-search mode
-q, --query=STR Initial query
-f, --filter=STR Filter mode. Do not start interactive finder.
-s, --sort=MAX Maximum number of matched items to sort (default: 1000)
+s, --no-sort Do not sort the result. Keep the sequence unchanged.
-i Case-insensitive match (default: smart-case match)