]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/cmd/nncp-cfgdir.texi
nncp-cfgdir
[nncp.git] / doc / cmd / nncp-cfgdir.texi
diff --git a/doc/cmd/nncp-cfgdir.texi b/doc/cmd/nncp-cfgdir.texi
new file mode 100644 (file)
index 0000000..ec45ddd
--- /dev/null
@@ -0,0 +1,12 @@
+@node nncp-cfgdir
+@section nncp-cfgdir
+
+@example
+$ nncp-cfgdir [options] [-cfg ...] -dump /path/to/dir
+$ nncp-cfgdir [options] -load /path/to/dir > cfg.hjson
+@end example
+
+@option{-dump} option dumps current configuration file to the
+@ref{Configuration directory, directory layout} at @file{/path/to/dir}.
+@option{-load} loads it and parses, outputing the resulting Hjson to
+stdout.