summaryrefslogtreecommitdiff
path: root/runtime/doc/channel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r--runtime/doc/channel.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index a306abb48..01756f145 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -633,8 +633,8 @@ ch_logfile({fname} [, {mode}]) *ch_logfile()*
is going on in real time.
To enable the log very early, to see what is received from a
- terminal during startup, use |--cmd|: >
- vim --cmd "call ch_logfile('logfile', 'w')"
+ terminal during startup, use |--log|: >
+ vim --log logfile
<
This function is not available in the |sandbox|.
NOTE: the channel communication is stored in the file, be