summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/cs/CMakeLists.txt2
-rw-r--r--doc/cs/Makefile.am5
-rw-r--r--doc/cs/cmdline_options_debug.cs.adoc16
-rw-r--r--doc/cs/weechat-headless.1.cs.adoc10
-rw-r--r--doc/cs/weechat.1.cs.adoc9
-rw-r--r--doc/de/CMakeLists.txt3
-rw-r--r--doc/de/Makefile.am7
-rw-r--r--doc/de/cmdline_options_debug.de.adoc16
-rw-r--r--doc/de/weechat-headless.1.de.adoc10
-rw-r--r--doc/de/weechat.1.de.adoc10
-rw-r--r--doc/de/weechat_user.de.adoc17
-rw-r--r--doc/en/CMakeLists.txt3
-rw-r--r--doc/en/Makefile.am7
-rw-r--r--doc/en/cmdline_options_debug.en.adoc13
-rw-r--r--doc/en/weechat-headless.1.en.adoc8
-rw-r--r--doc/en/weechat.1.en.adoc8
-rw-r--r--doc/en/weechat_dev.en.adoc3
-rw-r--r--doc/en/weechat_user.en.adoc15
-rw-r--r--doc/fr/CMakeLists.txt3
-rw-r--r--doc/fr/Makefile.am7
-rw-r--r--doc/fr/cmdline_options_debug.fr.adoc13
-rw-r--r--doc/fr/weechat-headless.1.fr.adoc9
-rw-r--r--doc/fr/weechat.1.fr.adoc9
-rw-r--r--doc/fr/weechat_dev.fr.adoc3
-rw-r--r--doc/fr/weechat_user.fr.adoc15
-rw-r--r--doc/it/CMakeLists.txt3
-rw-r--r--doc/it/Makefile.am7
-rw-r--r--doc/it/cmdline_options_debug.it.adoc16
-rw-r--r--doc/it/weechat-headless.1.it.adoc9
-rw-r--r--doc/it/weechat.1.it.adoc9
-rw-r--r--doc/it/weechat_user.it.adoc17
-rw-r--r--doc/ja/CMakeLists.txt3
-rw-r--r--doc/ja/Makefile.am7
-rw-r--r--doc/ja/cmdline_options_debug.ja.adoc16
-rw-r--r--doc/ja/weechat-headless.1.ja.adoc10
-rw-r--r--doc/ja/weechat.1.ja.adoc10
-rw-r--r--doc/ja/weechat_dev.ja.adoc5
-rw-r--r--doc/ja/weechat_user.ja.adoc17
-rw-r--r--doc/pl/CMakeLists.txt3
-rw-r--r--doc/pl/Makefile.am7
-rw-r--r--doc/pl/cmdline_options_debug.pl.adoc16
-rw-r--r--doc/pl/weechat-headless.1.pl.adoc10
-rw-r--r--doc/pl/weechat.1.pl.adoc10
-rw-r--r--doc/pl/weechat_user.pl.adoc17
-rw-r--r--doc/ru/CMakeLists.txt2
-rw-r--r--doc/ru/Makefile.am5
-rw-r--r--doc/ru/cmdline_options_debug.ru.adoc16
-rw-r--r--doc/ru/weechat-headless.1.ru.adoc9
-rw-r--r--doc/ru/weechat.1.ru.adoc9
49 files changed, 388 insertions, 66 deletions
diff --git a/doc/cs/CMakeLists.txt b/doc/cs/CMakeLists.txt
index fbfb764ff..7710e7bc3 100644
--- a/doc/cs/CMakeLists.txt
+++ b/doc/cs/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.cs.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.cs.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.cs.adoc
diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am
index b9ab39d52..c6cec1621 100644
--- a/doc/cs/Makefile.am
+++ b/doc/cs/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.cs.adoc \
weechat-headless.1.cs.adoc \
cmdline_options.cs.adoc \
+ cmdline_options_debug.cs.adoc \
weechat_quickstart.cs.adoc \
$(wildcard autogen/user/*.adoc) \
$(wildcard autogen/plugin_api/*.adoc)
@@ -42,9 +43,9 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc
+weechat.1: weechat.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/cs/weechat.1.cs.adoc
-weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc
+weechat-headless.1: weechat-headless.1.cs.adoc cmdline_options.cs.adoc cmdline_options_debug.cs.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/cs/weechat-headless.1.cs.adoc
# quickstart
diff --git a/doc/cs/cmdline_options_debug.cs.adoc b/doc/cs/cmdline_options_debug.cs.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/cs/cmdline_options_debug.cs.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/cs/weechat-headless.1.cs.adoc b/doc/cs/weechat-headless.1.cs.adoc
index 74cef105d..4076c8b70 100644
--- a/doc/cs/weechat-headless.1.cs.adoc
+++ b/doc/cs/weechat-headless.1.cs.adoc
@@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version)
// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -32,11 +32,17 @@ v obvyklých sciptovacích jazycích.
The command *weechat-headless* runs WeeChat in a headless mode (no interface).
It can be used for tests or to daemonize WeeChat with the option "--daemon".
-
== VOLBY
include::cmdline_options.cs.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.cs.adoc[]
+
== VOLBY PLUGINŮ
include::man_plugin_options.cs.adoc[]
diff --git a/doc/cs/weechat.1.cs.adoc b/doc/cs/weechat.1.cs.adoc
index 04847d2f3..11824d84f 100644
--- a/doc/cs/weechat.1.cs.adoc
+++ b/doc/cs/weechat.1.cs.adoc
@@ -15,7 +15,7 @@ weechat - the extensible chat client
// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -31,6 +31,13 @@ v obvyklých sciptovacích jazycích.
include::cmdline_options.cs.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.cs.adoc[]
+
== VOLBY PLUGINŮ
include::man_plugin_options.cs.adoc[]
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
index e36e2ea36..85e2c8dfb 100644
--- a/doc/de/CMakeLists.txt
+++ b/doc/de/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.de.adoc
@@ -63,6 +65,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.de.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.de.html"
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
index e71b2a081..e0c531db5 100644
--- a/doc/de/Makefile.am
+++ b/doc/de/Makefile.am
@@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.de.adoc \
weechat-headless.1.de.adoc \
cmdline_options.de.adoc \
+ cmdline_options_debug.de.adoc \
weechat_user.de.adoc \
weechat_scripting.de.adoc \
weechat_faq.de.adoc \
@@ -50,13 +51,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.de.adoc cmdline_options.de.adoc
+weechat.1: weechat.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/de/weechat.1.de.adoc
-weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc
+weechat-headless.1: weechat-headless.1.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/de/weechat-headless.1.de.adoc
# user's guide
-weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.de.html: weechat_user.de.adoc cmdline_options.de.adoc cmdline_options_debug.de.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.adoc
# scripting guide
diff --git a/doc/de/cmdline_options_debug.de.adoc b/doc/de/cmdline_options_debug.de.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/de/cmdline_options_debug.de.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/de/weechat-headless.1.de.adoc b/doc/de/weechat-headless.1.de.adoc
index d999c49be..1c85c890e 100644
--- a/doc/de/weechat-headless.1.de.adoc
+++ b/doc/de/weechat-headless.1.de.adoc
@@ -12,8 +12,9 @@ weechat-headless - der erweiterbare Chat Client (headless version)
== SYNOPSIS
+// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -33,6 +34,13 @@ zu starten. Dazu nutzt man die Option "--daemon".
include::cmdline_options.de.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.de.adoc[]
+
== OPTIONEN von ERWEITERUNGEN
include::man_plugin_options.de.adoc[]
diff --git a/doc/de/weechat.1.de.adoc b/doc/de/weechat.1.de.adoc
index 7ba1e2451..68db4766f 100644
--- a/doc/de/weechat.1.de.adoc
+++ b/doc/de/weechat.1.de.adoc
@@ -12,8 +12,9 @@ weechat - der erweiterbare Chat Client
== SYNOPSIS
+// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,6 +30,13 @@ Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar.
include::cmdline_options.de.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.de.adoc[]
+
== OPTIONEN von ERWEITERUNGEN
include::man_plugin_options.de.adoc[]
diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc
index 3a025f17f..bcb9b4e25 100644
--- a/doc/de/weechat_user.de.adoc
+++ b/doc/de/weechat_user.de.adoc
@@ -513,14 +513,23 @@ Um WeeChat zu starten muss folgender Befehl ausgeführt werden:
$ weechat
----
-Befehlszeile:
-
-include::cmdline_options.de.adoc[]
-
Wird WeeChat das erste mal ausgeführt, wird die Standardkonfiguration und
die entsprechenden Dateien im Verzeichnis _~/.weechat_ erstellt.
(siehe <<files_and_directories,Dateien und Verzeichnisse>>).
+// TRANSLATION MISSING
+==== Command line options
+
+include::cmdline_options.de.adoc[]
+
+// TRANSLATION MISSING
+==== Extra debug options
+
+[WARNING]
+These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.de.adoc[]
+
[[environment_variables]]
=== Umgebungsvariablen
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
index 7db38512d..a2f11dfe0 100644
--- a/doc/en/CMakeLists.txt
+++ b/doc/en/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.en.adoc
@@ -64,6 +66,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.en.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.en.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.en.html"
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index b45d18c61..7a5acbb25 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.en.adoc \
weechat-headless.1.en.adoc \
cmdline_options.en.adoc \
+ cmdline_options_debug.en.adoc \
weechat_user.en.adoc \
weechat_plugin_api.en.adoc \
weechat_scripting.en.adoc \
@@ -57,13 +58,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.en.adoc cmdline_options.en.adoc
+weechat.1: weechat.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/en/weechat.1.en.adoc
-weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc
+weechat-headless.1: weechat-headless.1.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/en/weechat-headless.1.en.adoc
# user's guide
-weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.en.html: weechat_user.en.adoc cmdline_options.en.adoc cmdline_options_debug.en.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.en.html $(abs_top_srcdir)/doc/en/weechat_user.en.adoc
# plugin API reference
diff --git a/doc/en/cmdline_options_debug.en.adoc b/doc/en/cmdline_options_debug.en.adoc
new file mode 100644
index 000000000..d0f9df152
--- /dev/null
+++ b/doc/en/cmdline_options_debug.en.adoc
@@ -0,0 +1,13 @@
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/en/weechat-headless.1.en.adoc b/doc/en/weechat-headless.1.en.adoc
index 49f875157..0dab42ecb 100644
--- a/doc/en/weechat-headless.1.en.adoc
+++ b/doc/en/weechat-headless.1.en.adoc
@@ -13,7 +13,7 @@ weechat-headless - the extensible chat client (headless version)
== SYNOPSIS
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -32,6 +32,12 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon".
include::cmdline_options.en.adoc[]
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.en.adoc[]
+
== PLUGIN OPTIONS
include::man_plugin_options.en.adoc[]
diff --git a/doc/en/weechat.1.en.adoc b/doc/en/weechat.1.en.adoc
index 3b3237e5d..0b21fdf7d 100644
--- a/doc/en/weechat.1.en.adoc
+++ b/doc/en/weechat.1.en.adoc
@@ -13,7 +13,7 @@ weechat - the extensible chat client
== SYNOPSIS
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,6 +29,12 @@ It is highly customizable and extensible with scripts.
include::cmdline_options.en.adoc[]
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.en.adoc[]
+
== PLUGIN OPTIONS
include::man_plugin_options.en.adoc[]
diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc
index 0132e4876..6f8b0b40f 100644
--- a/doc/en/weechat_dev.en.adoc
+++ b/doc/en/weechat_dev.en.adoc
@@ -419,7 +419,8 @@ Documentation files:
|    docinfo.html | Asciidoctor style.
|    docgen.py | Python script to build files in _autogen/_ directory (see below).
|    XX/ | Documentation for language XX (languages: en, fr, de, it, ...).
-|       cmdline_options.XX.adoc | Command-line options (file included in man page and user's guide).
+|       cmdline_options.XX.adoc | Command-line general options (file included in man pages and user's guide).
+|       cmdline_options_debug.XX.adoc | Command-line debug options (file included in man pages and user's guide).
|       weechat.1.XX.adoc | Man page (`man weechat`).
|       weechat_dev.XX.adoc | link:weechat_dev.en.html[Developer's guide] (this document).
|       weechat_faq.XX.adoc | link:weechat_faq.en.html[FAQ].
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index 57e09bf58..cdad32134 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -504,14 +504,21 @@ To start WeeChat, issue this command:
$ weechat
----
-Command line arguments:
-
-include::cmdline_options.en.adoc[]
-
When you run WeeChat for the first time, the default configuration files are
created in _~/.weechat_ with default options and values
(see <<files_and_directories,Files and directories>>).
+==== Command line options
+
+include::cmdline_options.en.adoc[]
+
+==== Extra debug options
+
+[WARNING]
+These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.en.adoc[]
+
[[environment_variables]]
=== Environment variables
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt
index a56ace183..be35cc5da 100644
--- a/doc/fr/CMakeLists.txt
+++ b/doc/fr/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.fr.adoc
@@ -64,6 +66,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.fr.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.fr.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.fr.html"
diff --git a/doc/fr/Makefile.am b/doc/fr/Makefile.am
index 01a0ec134..9ac6c8a16 100644
--- a/doc/fr/Makefile.am
+++ b/doc/fr/Makefile.am
@@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.fr.adoc \
weechat-headless.1.fr.adoc \
cmdline_options.fr.adoc \
+ cmdline_options_debug.fr.adoc \
weechat_user.fr.adoc \
weechat_plugin_api.fr.adoc \
weechat_scripting.fr.adoc \
@@ -57,13 +58,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc
+weechat.1: weechat.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/fr/weechat.1.fr.adoc
-weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc
+weechat-headless.1: weechat-headless.1.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/fr/weechat-headless.1.fr.adoc
# user's guide
-weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.fr.html: weechat_user.fr.adoc cmdline_options.fr.adoc cmdline_options_debug.fr.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.fr.html $(abs_top_srcdir)/doc/fr/weechat_user.fr.adoc
# plugin API reference
diff --git a/doc/fr/cmdline_options_debug.fr.adoc b/doc/fr/cmdline_options_debug.fr.adoc
new file mode 100644
index 000000000..d0f9df152
--- /dev/null
+++ b/doc/fr/cmdline_options_debug.fr.adoc
@@ -0,0 +1,13 @@
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/fr/weechat-headless.1.fr.adoc b/doc/fr/weechat-headless.1.fr.adoc
index 41f5053fd..8b354e0eb 100644
--- a/doc/fr/weechat-headless.1.fr.adoc
+++ b/doc/fr/weechat-headless.1.fr.adoc
@@ -13,7 +13,7 @@ weechat-headless - le client de discussion extensible (version sans interface)
== SYNOPSIS
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [option-debug...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -33,6 +33,13 @@ avec l'option "--daemon".
include::cmdline_options.fr.adoc[]
+== OPTIONS DE DEBUG
+
+*ATTENTION :* ces options sont pour du debug seulement,
+*NE PAS UTILISER EN PRODUCTION !*
+
+include::cmdline_options_debug.fr.adoc[]
+
== OPTIONS D'EXTENSION
include::man_plugin_options.fr.adoc[]
diff --git a/doc/fr/weechat.1.fr.adoc b/doc/fr/weechat.1.fr.adoc
index 9fd925671..7e5379676 100644
--- a/doc/fr/weechat.1.fr.adoc
+++ b/doc/fr/weechat.1.fr.adoc
@@ -13,7 +13,7 @@ weechat - le client de discussion extensible
== SYNOPSIS
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <répertoire>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [extension:option...]
+*weechat* [-a|--no-connect] [-d|--dir <répertoire>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <extensions>] [-r|--run-command <commande>] [-s|--no-script] [--upgrade] [option-debug...] [extension:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,6 +29,13 @@ Il est hautement paramétrable et extensible avec des scripts.
include::cmdline_options.fr.adoc[]
+== OPTIONS DE DEBUG
+
+*ATTENTION :* ces options sont pour du debug seulement,
+*NE PAS UTILISER EN PRODUCTION !*
+
+include::cmdline_options_debug.fr.adoc[]
+
== OPTIONS D'EXTENSION
include::man_plugin_options.fr.adoc[]
diff --git a/doc/fr/weechat_dev.fr.adoc b/doc/fr/weechat_dev.fr.adoc
index 81f857bad..16dcab9fd 100644
--- a/doc/fr/weechat_dev.fr.adoc
+++ b/doc/fr/weechat_dev.fr.adoc
@@ -420,7 +420,8 @@ Fichiers de documentation :
|    docinfo.html | Style Asciidoctor.
|    docgen.py | Script Python pour construire les fichiers dans le répertoire _autogen/_ (voir ci-dessous).
|    XX/ | Documentation pour la langue XX (langues : en, fr, de, it, ...).
-|       cmdline_options.XX.adoc | Options de ligne de commande (fichier inclus dans la page de manuel et le guide utilisateur).
+|       cmdline_options.XX.adoc | Options générales de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur).
+|       cmdline_options_debug.XX.adoc | Options de debug de ligne de commande (fichier inclus dans les pages de manuel et le guide utilisateur).
|       weechat.1.XX.adoc | Page de manuel (`man weechat`).
|       weechat_dev.XX.adoc | link:weechat_dev.fr.html[Guide du développeur] (ce document).
|       weechat_faq.XX.adoc | link:weechat_faq.fr.html[FAQ] (questions fréquemment posées).
diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc
index c0a6e5514..87466053c 100644
--- a/doc/fr/weechat_user.fr.adoc
+++ b/doc/fr/weechat_user.fr.adoc
@@ -517,14 +517,21 @@ Pour lancer WeeChat, tapez cette commande :
$ weechat
----
-Paramètres de ligne de commande :
-
-include::cmdline_options.fr.adoc[]
-
Lorsque vous lancez WeeChat pour la première fois, les fichiers de configuration
par défaut sont créés dans _~/.weechat_ avec les options et valeurs par défaut
(voir <<files_and_directories,Fichiers et répertoires>>).
+==== Options de ligne de commande
+
+include::cmdline_options.fr.adoc[]
+
+==== Options supplémentaires de debug
+
+[WARNING]
+Ces options sont pour du debug seulement, *NE PAS UTILISER EN PRODUCTION !*
+
+include::cmdline_options_debug.fr.adoc[]
+
[[environment_variables]]
=== Variables d'environnement
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
index 963565c19..f9a22864e 100644
--- a/doc/it/CMakeLists.txt
+++ b/doc/it/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.it.adoc
@@ -64,6 +66,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.it.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.it.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.it.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.it.html"
diff --git a/doc/it/Makefile.am b/doc/it/Makefile.am
index abd88a925..d9087a799 100644
--- a/doc/it/Makefile.am
+++ b/doc/it/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.it.adoc \
weechat-headless.1.it.adoc \
cmdline_options.it.adoc \
+ cmdline_options_debug.it.adoc \
weechat_user.it.adoc \
weechat_plugin_api.it.adoc \
weechat_scripting.it.adoc \
@@ -52,13 +53,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.it.adoc cmdline_options.it.adoc
+weechat.1: weechat.1.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/it/weechat.1.it.adoc
-weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc
+weechat-headless.1: weechat-headless.1.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/it/weechat-headless.1.it.adoc
# user's guide
-weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.it.html: weechat_user.it.adoc cmdline_options.it.adoc cmdline_options_debug.it.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.it.html $(abs_top_srcdir)/doc/it/weechat_user.it.adoc
# plugin API reference
diff --git a/doc/it/cmdline_options_debug.it.adoc b/doc/it/cmdline_options_debug.it.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/it/cmdline_options_debug.it.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/it/weechat-headless.1.it.adoc b/doc/it/weechat-headless.1.it.adoc
index 241bf516c..d8401aec1 100644
--- a/doc/it/weechat-headless.1.it.adoc
+++ b/doc/it/weechat-headless.1.it.adoc
@@ -16,7 +16,7 @@ weechat-headless - the extensible chat client (headless version)
// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -37,6 +37,13 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon".
include::cmdline_options.it.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.it.adoc[]
+
== PLUGIN OPTIONS
include::man_plugin_options.it.adoc[]
diff --git a/doc/it/weechat.1.it.adoc b/doc/it/weechat.1.it.adoc
index 659026c1e..8393614e8 100644
--- a/doc/it/weechat.1.it.adoc
+++ b/doc/it/weechat.1.it.adoc
@@ -16,7 +16,7 @@ weechat - the extensible chat client
// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -33,6 +33,13 @@ It is highly customizable and extensible with scripts.
include::cmdline_options.it.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.it.adoc[]
+
== PLUGIN OPTIONS
include::man_plugin_options.it.adoc[]
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index 7438050f7..478b42206 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -548,16 +548,25 @@ Per avviare WeeChat, digitare questo comando:
$ weechat
----
-Argomenti a riga di comando:
-
-include::cmdline_options.it.adoc[]
-
// TRANSLATION MISSING
When you run WeeChat for the first time, the default configuration files are
created in _~/.weechat_ with default options and values
(see <<files_and_directories,Files and directories>>).
// TRANSLATION MISSING
+==== Command line options
+
+include::cmdline_options.it.adoc[]
+
+// TRANSLATION MISSING
+==== Extra debug options
+
+[WARNING]
+These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.it.adoc[]
+
+// TRANSLATION MISSING
[[environment_variables]]
=== Environment variables
diff --git a/doc/ja/CMakeLists.txt b/doc/ja/CMakeLists.txt
index 1ff9ef5fd..cba3cf2d4 100644
--- a/doc/ja/CMakeLists.txt
+++ b/doc/ja/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ja.adoc
@@ -64,6 +66,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.ja.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ja.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ja.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.ja.html"
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index d6cbdce97..54f8b5b82 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.ja.adoc \
weechat-headless.1.ja.adoc \
cmdline_options.ja.adoc \
+ cmdline_options_debug.ja.adoc \
weechat_user.ja.adoc \
weechat_plugin_api.ja.adoc \
weechat_scripting.ja.adoc \
@@ -56,13 +57,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc
+weechat.1: weechat.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ja/weechat.1.ja.adoc
-weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc
+weechat-headless.1: weechat-headless.1.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ja/weechat-headless.1.ja.adoc
# user's guide
-weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.ja.html: weechat_user.ja.adoc cmdline_options.ja.adoc cmdline_options_debug.ja.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.ja.html $(abs_top_srcdir)/doc/ja/weechat_user.ja.adoc
# plugin API reference
diff --git a/doc/ja/cmdline_options_debug.ja.adoc b/doc/ja/cmdline_options_debug.ja.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/ja/cmdline_options_debug.ja.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/ja/weechat-headless.1.ja.adoc b/doc/ja/weechat-headless.1.ja.adoc
index b36d1d2d6..1cd671b0a 100644
--- a/doc/ja/weechat-headless.1.ja.adoc
+++ b/doc/ja/weechat-headless.1.ja.adoc
@@ -12,8 +12,9 @@ weechat-headless - 拡張可能なチャットクライアント (ヘッドレ
== 書式
+// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -32,6 +33,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ
include::cmdline_options.ja.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.ja.adoc[]
+
== プラグインオプション
include::man_plugin_options.ja.adoc[]
diff --git a/doc/ja/weechat.1.ja.adoc b/doc/ja/weechat.1.ja.adoc
index e0ced14fb..44e04362f 100644
--- a/doc/ja/weechat.1.ja.adoc
+++ b/doc/ja/weechat.1.ja.adoc
@@ -12,8 +12,9 @@ weechat - 拡張可能なチャットクライアント
== 書式
+// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat* [-a|--no-connect] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,6 +30,13 @@ WeeChat (Wee Enhanced Environment for Chat) はフリーのチャットクライ
include::cmdline_options.ja.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.ja.adoc[]
+
== プラグインオプション
include::man_plugin_options.ja.adoc[]
diff --git a/doc/ja/weechat_dev.ja.adoc b/doc/ja/weechat_dev.ja.adoc
index 064900765..f6ea7ead2 100644
--- a/doc/ja/weechat_dev.ja.adoc
+++ b/doc/ja/weechat_dev.ja.adoc
@@ -424,7 +424,10 @@ WeeChat "core" は以下のディレクトリに配置されています:
|    docinfo.html | asciidoctor スタイル
|    docgen.py | _autogen/_ ディレクトリ内のファイルを作成する Python スクリプト (以下を参照)
|    XX/ | 言語コード XX (言語コード: en、fr、de、it、...) 用のディレクトリ
-|       cmdline_options.XX.adoc | コマンドラインオプション (man ページとユーザーズガイドに含まれるファイル)
+// TRANSLATION MISSING
+|       cmdline_options.XX.adoc | Command-line general options (file included in man pages and user's guide).
+// TRANSLATION MISSING
+|       cmdline_options_debug.XX.adoc | Command-line debug options (file included in man pages and user's guide).
|       weechat.1.XX.adoc | man ページ (`man weechat`)
|       weechat_dev.XX.adoc | link:weechat_dev.ja.html[開発者リファレンス] (この文書)
|       weechat_faq.XX.adoc | link:weechat_faq.ja.html[FAQ]
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc
index bf529445a..f257f7c79 100644
--- a/doc/ja/weechat_user.ja.adoc
+++ b/doc/ja/weechat_user.ja.adoc
@@ -508,14 +508,23 @@ WeeChat を起動させるには、以下コマンドを実行:
$ weechat
----
-コマンドライン引数:
-
-include::cmdline_options.ja.adoc[]
-
WeeChat の初回起動時にデフォルトのオプション設定を含む設定ファイルが
_~/.weechat_ ディレクトリの中に作成されます
(<<files_and_directories,ファイルとディレクトリ>>を参照してください)。
+// TRANSLATION MISSING
+==== Command line options
+
+include::cmdline_options.ja.adoc[]
+
+// TRANSLATION MISSING
+==== Extra debug options
+
+[WARNING]
+These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.ja.adoc[]
+
[[environment_variables]]
=== 環境変数
diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt
index b225476c0..72447bd58 100644
--- a/doc/pl/CMakeLists.txt
+++ b/doc/pl/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.pl.adoc
@@ -63,6 +65,7 @@ if(ENABLE_DOC)
${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.pl.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.pl.adoc
${AUTOGEN_USER}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat_user.pl.html"
diff --git a/doc/pl/Makefile.am b/doc/pl/Makefile.am
index 46c06dc19..ffcee00e7 100644
--- a/doc/pl/Makefile.am
+++ b/doc/pl/Makefile.am
@@ -25,6 +25,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.pl.adoc \
weechat-headless.1.pl.adoc \
cmdline_options.pl.adoc \
+ cmdline_options_debug.pl.adoc \
weechat_user.pl.adoc \
weechat_scripting.pl.adoc \
weechat_faq.pl.adoc \
@@ -50,13 +51,13 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc
+weechat.1: weechat.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/pl/weechat.1.pl.adoc
-weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc
+weechat-headless.1: weechat-headless.1.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/pl/weechat-headless.1.pl.adoc
# user's guide
-weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
+weechat_user.pl.html: weechat_user.pl.adoc cmdline_options.pl.adoc cmdline_options_debug.pl.adoc $(wildcard autogen/user/*.adoc) $(abs_top_srcdir)/doc/docinfo.html
$(ASCIIDOCTOR) -a revision="$(VERSION)" -a sectanchors -a source-highlighter=prettify -o weechat_user.pl.html $(abs_top_srcdir)/doc/pl/weechat_user.pl.adoc
# scripting guide
diff --git a/doc/pl/cmdline_options_debug.pl.adoc b/doc/pl/cmdline_options_debug.pl.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/pl/cmdline_options_debug.pl.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/pl/weechat-headless.1.pl.adoc b/doc/pl/weechat-headless.1.pl.adoc
index abd9b722c..c227c33c0 100644
--- a/doc/pl/weechat-headless.1.pl.adoc
+++ b/doc/pl/weechat-headless.1.pl.adoc
@@ -12,8 +12,9 @@ weechat-headless - rozszerzalny klient rozmów (wersja headless)
== SKŁADNIA
+// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [debug-option...] [wtyczka:opcja...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -33,6 +34,13 @@ opcji "--daemon".
include::cmdline_options.pl.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.pl.adoc[]
+
== OPCJE WTYCZEK
include::man_plugin_options.pl.adoc[]
diff --git a/doc/pl/weechat.1.pl.adoc b/doc/pl/weechat.1.pl.adoc
index d317313f4..17bb67eba 100644
--- a/doc/pl/weechat.1.pl.adoc
+++ b/doc/pl/weechat.1.pl.adoc
@@ -12,8 +12,9 @@ weechat - rozszerzalny klient rozmów
== SKŁADNIA
+// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [wtyczka:opcja...]
+*weechat* [-a|--no-connect] [-d|--dir <ścieżka>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <wtyczki>] [-r|--run-command <komenda>] [-s|--no-script] [--upgrade] [debug-option...] [wtyczka:opcja...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -29,6 +30,13 @@ Posiada dużo opcji konfiguracyjnych i dodatkowych wtyczek.
include::cmdline_options.pl.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.pl.adoc[]
+
== OPCJE WTYCZEK
include::man_plugin_options.pl.adoc[]
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc
index 2da45acbf..70e2dac4d 100644
--- a/doc/pl/weechat_user.pl.adoc
+++ b/doc/pl/weechat_user.pl.adoc
@@ -516,14 +516,23 @@ Następnie jak w przypadku awarii, użyj polecenia `bt full`:
$ weechat
----
-Parametry z linii poleceń:
-
-include::cmdline_options.pl.adoc[]
-
Podczas pierwszego uruchomienia WeeChat tworzone są domyślne pliki konfiguracyjne
w _~/.weechat_ z domyślnymi opcjami i wartościami
(zobacz <<files_and_directories,Pliki i foldery>>).
+// TRANSLATION MISSING
+==== Command line options
+
+include::cmdline_options.pl.adoc[]
+
+// TRANSLATION MISSING
+==== Extra debug options
+
+[WARNING]
+These options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.pl.adoc[]
+
[[environment_variables]]
=== Zmienne środowiskowe
diff --git a/doc/ru/CMakeLists.txt b/doc/ru/CMakeLists.txt
index 15a9a862c..7cde1e198 100644
--- a/doc/ru/CMakeLists.txt
+++ b/doc/ru/CMakeLists.txt
@@ -25,6 +25,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc
@@ -41,6 +42,7 @@ if(ENABLE_MAN)
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat-headless.1.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.ru.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options_debug.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_plugin_options.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_files.ru.adoc
${CMAKE_CURRENT_SOURCE_DIR}/man_copyright.ru.adoc
diff --git a/doc/ru/Makefile.am b/doc/ru/Makefile.am
index c47d2412c..2e9c80e71 100644
--- a/doc/ru/Makefile.am
+++ b/doc/ru/Makefile.am
@@ -24,6 +24,7 @@ EXTRA_DIST = CMakeLists.txt \
weechat.1.ru.adoc \
weechat-headless.1.ru.adoc \
cmdline_options.ru.adoc \
+ cmdline_options_debug.ru.adoc \
weechat_quickstart.ru.adoc
if MAN
@@ -40,9 +41,9 @@ endif
all-local: $(man_targets) $(doc_targets)
# man pages
-weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc
+weechat.1: weechat.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat.1 $(abs_top_srcdir)/doc/ru/weechat.1.ru.adoc
-weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc
+weechat-headless.1: weechat-headless.1.ru.adoc cmdline_options.ru.adoc cmdline_options_debug.ru.adoc
$(ASCIIDOCTOR) -a revision="WeeChat $(VERSION)" -b manpage -o weechat-headless.1 $(abs_top_srcdir)/doc/ru/weechat-headless.1.ru.adoc
# quickstart
diff --git a/doc/ru/cmdline_options_debug.ru.adoc b/doc/ru/cmdline_options_debug.ru.adoc
new file mode 100644
index 000000000..5e88ef3ae
--- /dev/null
+++ b/doc/ru/cmdline_options_debug.ru.adoc
@@ -0,0 +1,16 @@
+// TRANSLATION MISSING
+*--no-dlclose*::
+ Do not call the function dlclose after plugins are unloaded.
+ This is useful with tools like Valgrind to display stack for unloaded
+ plugins.
+
+// TRANSLATION MISSING
+*--no-gnutls*::
+ Do not call the init and deinit functions of GnuTLS library.
+ This is useful with tools like Valgrind and electric-fence, to prevent
+ GnuTLS memory errors.
+
+// TRANSLATION MISSING
+*--no-gcrypt*::
+ Do not call the init and deinit functions of Gcrypt library.
+ This is useful with tools like Valgrind, to prevent Gcrypt memory errors.
diff --git a/doc/ru/weechat-headless.1.ru.adoc b/doc/ru/weechat-headless.1.ru.adoc
index 821959f86..81cca351d 100644
--- a/doc/ru/weechat-headless.1.ru.adoc
+++ b/doc/ru/weechat-headless.1.ru.adoc
@@ -16,7 +16,7 @@ weechat-headless - расширяемый чат-клиент (headless version)
// TRANSLATION MISSING
[verse]
-*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [debug-option...] [plugin:option...]
*weechat-headless* [-c|--colors]
*weechat-headless* [-h|--help]
*weechat-headless* [-l|--license]
@@ -36,6 +36,13 @@ It can be used for tests or to daemonize WeeChat with the option "--daemon".
include::cmdline_options.ru.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.ru.adoc[]
+
== ПАРАМЕТРЫ ПЛАГИНОВ
include::man_plugin_options.ru.adoc[]
diff --git a/doc/ru/weechat.1.ru.adoc b/doc/ru/weechat.1.ru.adoc
index fedd963a5..c13b5fb71 100644
--- a/doc/ru/weechat.1.ru.adoc
+++ b/doc/ru/weechat.1.ru.adoc
@@ -15,7 +15,7 @@ weechat - расширяемый чат-клиент
// TRANSLATION MISSING
[verse]
-*weechat* [-a|--no-connect] [-d|--dir <путь>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [<плагин>:<параметр>...]
+*weechat* [-a|--no-connect] [-d|--dir <путь>] [-t|--temp-dir] [-p|--no-plugin] [-P|--plugins <plugins>] [-r|--run-command <команда>] [-s|--no-script] [--upgrade] [debug-option...] [<плагин>:<параметр>...]
*weechat* [-c|--colors]
*weechat* [-h|--help]
*weechat* [-l|--license]
@@ -31,6 +31,13 @@ WeeChat (Wee Enhanced Environment for Chat) это свободный чат-к
include::cmdline_options.ru.adoc[]
+// TRANSLATION MISSING
+== DEBUG OPTIONS
+
+*WARNING:* these options are for debug purposes only, *DO NOT USE IN PRODUCTION!*
+
+include::cmdline_options_debug.ru.adoc[]
+
== ПАРАМЕТРЫ ПЛАГИНОВ
include::man_plugin_options.ru.adoc[]