From 805717e9ec3f66c960928bca607eceb871438fae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Sun, 11 Mar 2018 09:59:39 +0100
Subject: core: add binary weechat-headless to run WeeChat without interface
 (closes #1120)

The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
---
 doc/en/cmdline_options.en.adoc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'doc/en/cmdline_options.en.adoc')

diff --git a/doc/en/cmdline_options.en.adoc b/doc/en/cmdline_options.en.adoc
index 82a1c8fb8..5a559f895 100644
--- a/doc/en/cmdline_options.en.adoc
+++ b/doc/en/cmdline_options.en.adoc
@@ -4,6 +4,10 @@
 *-c*, *--colors*::
     Display default colors in terminal.
 
+*--daemon*::
+    Run WeeChat in background, as a daemon (works only with the command
+    *weechat-headless*).
+
 *-d*, *--dir* _<path>_::
     Set path as home for WeeChat (used for configuration files, logs, user
     plugins and scripts), default value is "~/.weechat" (note: directory is
-- 
cgit v1.2.3

