Skip to content
Snippets Groups Projects
Commit f6273f9e authored by Adrien Béraud's avatar Adrien Béraud
Browse files

tools/dhtnode: improve documentation

parent 5881c915
No related branches found
No related tags found
No related merge requests found
...@@ -52,6 +52,10 @@ Enable the verbose mode (log to stdout by default) ...@@ -52,6 +52,10 @@ Enable the verbose mode (log to stdout by default)
\fB-l\fP \fIlog_file\fP \fB-l\fP \fIlog_file\fP
Write log to file instead of stdout Write log to file instead of stdout
.TP
\fB-L\fP
Write log to syslog instead of stdout
.TP .TP
\fB-i\fP \fB-i\fP
Generate cryptographic identity for the node. Generate cryptographic identity for the node.
...@@ -60,6 +64,18 @@ Generate cryptographic identity for the node. ...@@ -60,6 +64,18 @@ Generate cryptographic identity for the node.
\fB-d\fP \fB-d\fP
Run the program in daemon mode (will fork in the background). 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 .TP
\fB-n\fP \fInetwork_id\fP \fB-n\fP \fInetwork_id\fP
Specify the network id. This let you connect to distinct networks and prevents 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). ...@@ -67,7 +83,7 @@ the merge of two different networks (available since OpenDHT v0.6.1).
.TP .TP
\fB-p\fP \fIlocal_port\fP \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 .TP
\fB-b\fP \fIbootstrap_host\fP[:\fIport\fP] \fB-b\fP \fIbootstrap_host\fP[:\fIport\fP]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment