From b8490994724d3a664d28c1475d1c4db6420a1110 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 24 Feb 2019 23:20:12 +0100 Subject: [PATCH] Document that write-all only writes modified buffers --- doc/pages/commands.asciidoc | 2 +- src/commands.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/pages/commands.asciidoc b/doc/pages/commands.asciidoc index f24be1a9..a9953b28 100644 --- a/doc/pages/commands.asciidoc +++ b/doc/pages/commands.asciidoc @@ -59,7 +59,7 @@ of the file onto the filesystem *write-all* [-sync]:: *alias* wa + - write all buffers that are associated to a file + write all changed buffers that are associated to a file *quit[!]* []:: *alias* q + diff --git a/src/commands.cc b/src/commands.cc index 5f7e1530..c5b169d0 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -408,7 +408,7 @@ void write_all_buffers(Context& context, bool sync = false) const CommandDesc write_all_cmd = { "write-all", "wa", - "write-all [-sync]: write all buffers that are associated to a file", + "write-all [-sync]: write all changed buffers that are associated to a file", ParameterDesc{ { { "sync", { false, "force the synchronization of the file onto the filesystem" } } }, ParameterDesc::Flags::None, 0, 0