Skip to content
Permalink
Browse files

tools/dhtnode: improve documentation

  • Loading branch information...
aberaud committed Apr 20, 2019
1 parent 5881c91 commit f6273f9efc778782319fbcdbe7e304ab6df5f30c
Showing with 17 additions and 1 deletion.
  1. +17 −1 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,14 +64,26 @@ 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
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]

0 comments on commit f6273f9

Please sign in to comment.
You can’t perform that action at this time.