summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-07-14 07:58:21 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-07-14 07:58:21 +0200
commita02743b229ac5b9d7710590e1e3f57caf710652a (patch)
treefaea4b6ec506696eb548a6cdf0635faafa9d35ee /doc/en
parent3fb322be8f278f63b88b0c212d17d9f1d08d609a (diff)
downloadweechat-a02743b229ac5b9d7710590e1e3f57caf710652a.zip
core: add option weechat.look.confirm_upgrade (closes #463)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/autogen/user/weechat_commands.asciidoc3
-rw-r--r--doc/en/autogen/user/weechat_options.asciidoc5
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/en/autogen/user/weechat_commands.asciidoc b/doc/en/autogen/user/weechat_commands.asciidoc
index aea0caa96..90df54cf2 100644
--- a/doc/en/autogen/user/weechat_commands.asciidoc
+++ b/doc/en/autogen/user/weechat_commands.asciidoc
@@ -841,8 +841,9 @@ Examples:
[command]*`upgrade`* upgrade WeeChat without disconnecting from servers::
----
-/upgrade [<path_to_binary>|-quit]
+/upgrade [-yes] [<path_to_binary>|-quit]
+ -yes: required if option weechat.look.confirm_upgrade is enabled
path_to_binary: path to WeeChat binary (default is current binary)
-dummy: do nothing (option used to prevent accidental completion with "-quit")
-quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below)
diff --git a/doc/en/autogen/user/weechat_options.asciidoc b/doc/en/autogen/user/weechat_options.asciidoc
index ea2109bba..d889cd0cc 100644
--- a/doc/en/autogen/user/weechat_options.asciidoc
+++ b/doc/en/autogen/user/weechat_options.asciidoc
@@ -542,6 +542,11 @@
** type: boolean
** values: on, off (default value: `off`)
+* [[option_weechat.look.confirm_upgrade]] *weechat.look.confirm_upgrade*
+** description: `if set, /upgrade command must be confirmed with extra argument "-yes" (see /help upgrade)`
+** type: boolean
+** values: on, off (default value: `off`)
+
* [[option_weechat.look.day_change]] *weechat.look.day_change*
** description: `display special message when day changes`
** type: boolean