Docs: add missing -i <suffix> command line flag

This commit is contained in:
Delapouite 2017-11-18 17:33:13 +01:00
parent 079b006cda
commit bf222a0628
3 changed files with 6 additions and 29 deletions

View File

@ -219,33 +219,7 @@ Running
~~~~~~~ ~~~~~~~
Just running *kak* launch a new kak session with a client on local terminal. Just running *kak* launch a new kak session with a client on local terminal.
*kak* accepts some switches: Run *kak -help* to discover the valid <<doc/kak.1#options,command line flags>>.
* `-c <session>`: connect to given session, sessions are unix sockets
`/tmp/kakoune/<user>/<session>`, `<user>/<session>` can be used
as well to connect to another user's session, provided the socket
permissions have been changed to allow it.
* `-e <commands>`: execute commands on startup
* `-n`: ignore kakrc file
* `-s <session>`: set the session name, by default it will be the pid
of the initial kak process.
* `-d`: run Kakoune in daemon mode, without user interface. This requires
the session name to be specified with -s. In this mode, the Kakoune
server will keep running even if there is no connected client, and
will quit when receiving SIGTERM.
* `-p <session>`: read stdin, and then send its content to the given session
acting as a remote control.
* `-f <keys>`: Work as a filter, read every file given on the command line
and stdin if piped in, and apply given keys on each.
* `-ui <userinterface>`: use given user interface, `<userinterface>` can be
- `ncurses`: default terminal user interface
- `dummy`: empty user interface not displaying anything
- `json`: json-rpc based user interface that writes json on stdout and
read keystrokes as json on stdin.
* `-l`: list existing sessions, and check the dead ones
* `-clear`: clear dead session's socket files
* `-ro`: prevent modifications to all buffers from being saved to disk
* `+line[:column]`: specify a target line and column for the first file
Configuration Configuration
^^^^^^^^^^^^^ ^^^^^^^^^^^^^

View File

@ -47,6 +47,9 @@ OPTIONS
-f <keys>:: -f <keys>::
enter in 'filter mode' and execute *keys* on the files passed as arguments enter in 'filter mode' and execute *keys* on the files passed as arguments
-i <suffix>::
backup the files on which a filter is applied using the given suffix
-q:: -q::
when in 'filter mode', don't print any errors when in 'filter mode', don't print any errors

View File

@ -81,12 +81,12 @@ kak$(suffix) : $(objects)
# Generate the man page # Generate the man page
ifeq ($(gzip_man),yes) ifeq ($(gzip_man),yes)
../doc/kak.1.gz: ../doc/kak.1.txt ../doc/kak.1.gz: ../doc/kak.1.asciidoc
a2x --no-xmllint -f manpage $< a2x --no-xmllint -f manpage $<
gzip -n -9 -f $(basename $<) gzip -n -9 -f $(basename $<)
man: ../doc/kak.1.gz man: ../doc/kak.1.gz
else else
../doc/kak.1: ../doc/kak.1.txt ../doc/kak.1: ../doc/kak.1.asciidoc
a2x --no-xmllint -f manpage $< a2x --no-xmllint -f manpage $<
man: ../doc/kak.1 man: ../doc/kak.1
endif endif