summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-08-01 10:20:30 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-08-24 22:21:06 +0200
commit348b3f9d9d2a72017a320283698e8e06d3712aea (patch)
treee73b49e0b0a805b781b918cc2ce2f604eab37945 /src
parent021da117cf90bf25b65e3344fa8e43ab4262b714 (diff)
Fix synopsis of write-quit commands
Like other write commands, these support the -method switch, so indicate that in the synopsis.
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc6
1 files 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] [<exit status>]: write current buffer and quit current client. "
+ "write-quit [<switches>] [<exit status>]: 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] [<exit status>] write: current buffer and quit current client, even if other buffers are not saved. "
+ "write-quit! [<switches>] [<exit status>] 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] [<exit status>]: write all buffers associated to a file and quit current client. "
+ "write-all-quit [<switches>] [<exit status>]: 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,