summaryrefslogtreecommitdiff
path: root/doc/de
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-03-11 09:59:39 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-03-11 09:59:39 +0100
commit805717e9ec3f66c960928bca607eceb871438fae (patch)
treec1832f0815bd8ade4530ed3948f55f0672103184 /doc/de
parent0126b03f47db7f7842aff497cdbb0e41a0a5be0a (diff)
downloadweechat-805717e9ec3f66c960928bca607eceb871438fae.zip
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).
Diffstat (limited to 'doc/de')
-rw-r--r--doc/de/CMakeLists.txt16
-rw-r--r--doc/de/cmdline_options.de.adoc5
-rw-r--r--doc/de/weechat.1.de.adoc6
3 files changed, 26 insertions, 1 deletions
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
index 025d03d3d..28874e476 100644
--- a/doc/de/CMakeLists.txt
+++ b/doc/de/CMakeLists.txt
@@ -28,8 +28,22 @@ if(ENABLE_MAN)
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Building weechat.1 (de)"
)
- add_custom_target(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
+ add_custom_target(doc-man-weechat-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
+
+ # symbolic link weechat-headless.1 -> weechat.1
+ add_custom_command(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1
+ COMMAND ${CMAKE_COMMAND} -E remove -f "weechat-headless.1"
+ COMMAND ${CMAKE_COMMAND} -E create_symlink "weechat.1" "weechat-headless.1"
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.adoc
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Creating symbolic link weechat-headless.1 (de)"
+ )
+ add_custom_target(doc-man-weechat-headless-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat-headless.1 DESTINATION ${MANDIR}/de/man1)
endif()
if(ENABLE_DOC)
diff --git a/doc/de/cmdline_options.de.adoc b/doc/de/cmdline_options.de.adoc
index 447e5d9bb..9f6f10287 100644
--- a/doc/de/cmdline_options.de.adoc
+++ b/doc/de/cmdline_options.de.adoc
@@ -4,6 +4,11 @@
*-c*, *--colors*::
zeigt die Standardfarben im Terminal an.
+// TRANSLATION MISSING
+*--daemon*::
+ Run WeeChat in background, as a daemon (works only with the command
+ *weechat-headless*).
+
*-d*, *--dir* _<path>_::
legt den Konfigurationsordner für WeeChat fest in welchem die Erweiterungen,
Skripten, Protokolldateien etc.pp. gesichert werden (Voreinstellung: "~/.weechat").
diff --git a/doc/de/weechat.1.de.adoc b/doc/de/weechat.1.de.adoc
index f61c55428..8fbacecf0 100644
--- a/doc/de/weechat.1.de.adoc
+++ b/doc/de/weechat.1.de.adoc
@@ -19,12 +19,18 @@ weechat - der erweiterbare Chat Client
*weechat* [-l|--license]
*weechat* [-v|--version]
+*weechat-headless* [-a|--no-connect] [--daemon] [-d|--dir <path>] [-p|--no-plugin] [-r|--run-command <command>] [-s|--no-script] [--upgrade] [plugin:option...]
+
== BESCHREIBUNG
WeeChat (Wee Enhanced Environment for Chat) ist ein freier, schneller und
schlanker Chat-Client der für unterschiedliche Betriebssysteme entwickelt wird.
Durch Skripten ist das Hauptprogramm äußerst flexibel und erweiterbar.
+// TRANSLATION MISSING
+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".
+
== OPTIONEN
include::cmdline_options.de.adoc[]