summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-09-23 17:06:25 +1000
committerMaxime Coste <mawww@kakoune.org>2018-09-23 17:06:25 +1000
commitfa993768da5a2e238fb5ca73c68f71ed77817de8 (patch)
tree2ae2b0bfc165b6033b77e3b3afb180248b76536b
parent49645f8efc593a3872333c56fbe24ee348eab126 (diff)
parent6c4593b18a2945192004696a87a47c0ecc31765b (diff)
Merge remote-tracking branch 'eraserhd/script-docs'
-rw-r--r--doc/kak.1.asciidoc2
-rw-r--r--src/main.cc2
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 <keys>::
- 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 <suffix>::
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)" } },