]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/cmd/nncp-cfgnew.texi
Multicast areas
[nncp.git] / doc / cmd / nncp-cfgnew.texi
diff --git a/doc/cmd/nncp-cfgnew.texi b/doc/cmd/nncp-cfgnew.texi
new file mode 100644 (file)
index 0000000..de3c71a
--- /dev/null
@@ -0,0 +1,17 @@
+@node nncp-cfgnew
+@section nncp-cfgnew
+
+@example
+$ nncp-cfgnew [options] [-area NAME] [-nocomments] > new.hjson
+@end example
+
+Generate new node configuration: private keys, example configuration
+file and print it to @code{stdout}. You must use this command when you
+setup the new node. @option{-nocomments} will create configuration file
+without descriptive huge comments -- useful for advanced users.
+
+With @option{-area} option you generate only the @ref{Area, area}
+related part of the configuration file.
+
+Pay attention that private keys generation consumes an entropy from your
+operating system.