From 6c4593b18a2945192004696a87a47c0ecc31765b Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Thu, 20 Sep 2018 09:08:55 -0400 Subject: [PATCH] Document that `-f` starts with whole file selected --- doc/kak.1.asciidoc | 2 +- src/main.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/kak.1.asciidoc b/doc/kak.1.asciidoc index efdda76a..802a8677 100644 --- a/doc/kak.1.asciidoc +++ b/doc/kak.1.asciidoc @@ -48,7 +48,7 @@ OPTIONS execute *command* after the server initialization phase -f :: - enter in 'filter mode' and execute *keys* on the files passed as arguments + enter in 'filter mode': select the whole file, then execute *keys* -i :: backup the files on which a filter is applied using the given suffix diff --git a/src/main.cc b/src/main.cc index 33544699..3526e4f9 100644 --- a/src/main.cc +++ b/src/main.cc @@ -908,7 +908,7 @@ int main(int argc, char* argv[]) { "s", { true, "set session name" } }, { "d", { false, "run as a headless session (requires -s)" } }, { "p", { true, "just send stdin as commands to the given session" } }, - { "f", { true, "act as a filter, executing given keys on given files" } }, + { "f", { true, "filter: for each file, select the entire buffer and execute the given keys" } }, { "i", { true, "backup the files on which a filter is applied using the given suffix" } }, { "q", { false, "in filter mode, be quiet about errors applying keys" } }, { "ui", { true, "set the type of user interface to use (ncurses, dummy, or json)" } },