From f6273f9efc778782319fbcdbe7e304ab6df5f30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sat, 20 Apr 2019 17:30:06 -0400 Subject: [PATCH] tools/dhtnode: improve documentation --- doc/dhtnode.1 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/dhtnode.1 b/doc/dhtnode.1 index a1b02638..69e18eb4 100644 --- a/doc/dhtnode.1 +++ b/doc/dhtnode.1 @@ -52,6 +52,10 @@ Enable the verbose mode (log to stdout by default) \fB-l\fP \fIlog_file\fP Write log to file instead of stdout +.TP +\fB-L\fP +Write log to syslog instead of stdout + .TP \fB-i\fP Generate cryptographic identity for the node. @@ -60,6 +64,18 @@ Generate cryptographic identity for the node. \fB-d\fP Run the program in daemon mode (will fork in the background). +.TP +\fB-s\fP +Run the program in service mode (non-forking daemon). + +.TP +\fB-D\fP +Enables multicast automatic local peer discovery. + +.TP +\fB-f\fP \fIfile\fP +Specify a file path to persist/load the node state. + .TP \fB-n\fP \fInetwork_id\fP Specify the network id. This let you connect to distinct networks and prevents @@ -67,7 +83,7 @@ the merge of two different networks (available since OpenDHT v0.6.1). .TP \fB-p\fP \fIlocal_port\fP -Use port \fIlocal_port\fP for the program to bind to. +Use UDP port \fIlocal_port\fP for the program to bind to. .TP \fB-b\fP \fIbootstrap_host\fP[:\fIport\fP] -- GitLab