summaryrefslogtreecommitdiff
path: root/doc/en/cmdline_options.en.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/cmdline_options.en.adoc')
-rw-r--r--doc/en/cmdline_options.en.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/en/cmdline_options.en.adoc b/doc/en/cmdline_options.en.adoc
index e09ff973c..d43a2426c 100644
--- a/doc/en/cmdline_options.en.adoc
+++ b/doc/en/cmdline_options.en.adoc
@@ -15,6 +15,17 @@
If this option is not given, the environment variable WEECHAT_HOME is used
(if not empty).
+*-t*, *--temp-dir*::
+ Create a temporary WeeChat home directory and delete it on exit
+ (incompatible with option "-d"). +
+ The name of the directory is automatically built by WeeChat, with this
+ template: "weechat_temp_XXXXXX" (where "XXXXXX" is random). It it created
+ in the first available directory in this list: environment variable "TMPDIR",
+ "/tmp" (may be different according to the operating system), environment
+ variable "HOME", current directory. +
+ The temporary home directory has permissions 0700 (only owner can read,
+ write and execute).
+
*-h*, *--help*::
Display help.