From 348b3f9d9d2a72017a320283698e8e06d3712aea Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Mon, 1 Aug 2022 10:20:30 +0200 Subject: [PATCH] Fix synopsis of write-quit commands Like other write commands, these support the -method switch, so indicate that in the synopsis. --- src/commands.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands.cc b/src/commands.cc index 6715fd05..bc6ff514 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -693,7 +693,7 @@ void write_quit(const ParametersParser& parser, Context& context, const CommandDesc write_quit_cmd = { "write-quit", "wq", - "write-quit [-sync] []: write current buffer and quit current client. " + "write-quit [] []: write current buffer and quit current client. " "An optional integer parameter can set the client exit status", write_params, CommandFlags::None, @@ -705,7 +705,7 @@ const CommandDesc write_quit_cmd = { const CommandDesc force_write_quit_cmd = { "write-quit!", "wq!", - "write-quit! [-sync] [] write: current buffer and quit current client, even if other buffers are not saved. " + "write-quit! [] [] write: current buffer and quit current client, even if other buffers are not saved. " "An optional integer parameter can set the client exit status", write_params, CommandFlags::None, @@ -717,7 +717,7 @@ const CommandDesc force_write_quit_cmd = { const CommandDesc write_all_quit_cmd = { "write-all-quit", "waq", - "write-all-quit [-sync] []: write all buffers associated to a file and quit current client. " + "write-all-quit [] []: write all buffers associated to a file and quit current client. " "An optional integer parameter can set the client exit status.", write_params, CommandFlags::None,