Document that write-all only writes modified buffers

This commit is contained in:
Johannes Altmanninger 2019-02-24 23:20:12 +01:00
parent 1dad4741fa
commit b849099472
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ of the file onto the filesystem
*write-all* [-sync]:: *write-all* [-sync]::
*alias* wa + *alias* wa +
write all buffers that are associated to a file write all changed buffers that are associated to a file
*quit[!]* [<exit status>]:: *quit[!]* [<exit status>]::
*alias* q + *alias* q +

View File

@ -408,7 +408,7 @@ void write_all_buffers(Context& context, bool sync = false)
const CommandDesc write_all_cmd = { const CommandDesc write_all_cmd = {
"write-all", "write-all",
"wa", "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{ ParameterDesc{
{ { "sync", { false, "force the synchronization of the file onto the filesystem" } } }, { { "sync", { false, "force the synchronization of the file onto the filesystem" } } },
ParameterDesc::Flags::None, 0, 0 ParameterDesc::Flags::None, 0, 0