X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fcmd%2Findex.texi;h=9f3c887bfc316a6122ca9869ed4e45d58d3e4e89;hb=891cee4997bb0a269d4b2f35311bab104bdc3283;hp=cb815438048b3c87388934d02aadc28108c4ec22;hpb=0ee0ba3784ce20e69d8db6316c99e7f0b6d30809;p=nncp.git diff --git a/doc/cmd/index.texi b/doc/cmd/index.texi index cb81543..9f3c887 100644 --- a/doc/cmd/index.texi +++ b/doc/cmd/index.texi @@ -1,11 +1,13 @@ @node Commands +@cindex commands @unnumbered Commands Nearly all commands have the following common options: @table @option +@vindex NNCPCFG @item -cfg - Path to configuration file. May be overridden by @env{NNCPCFG} + Path to configuration file. May be overridden by @env{$NNCPCFG} environment variable. If file file is an encrypted @ref{EBlob, eblob}, then ask for passphrase to decrypt it first. @item -debug @@ -24,16 +26,18 @@ Nearly all commands have the following common options: Override @ref{CfgVia, via} configuration option for destination node. Specified nodes must be separated with comma: @verb{|NODE1,NODE2|}. With @verb{|-via -|} you can disable relaying at all. +@vindex NNCPSPOOL @item -spool Override path to spool directory. May be specified by - @env{NNCPSPOOL} environment variable. + @env{$NNCPSPOOL} environment variable. +@vindex NNCPLOG @item -log - Override path to logfile. May be specified by @env{NNCPLOG} + Override path to logfile. May be specified by @env{$NNCPLOG} environment variable. @item -quiet Print only errors, omit simple informational messages. In any case those messages are logged, so you can reread them using - @ref{nncp-log} command. + @command{@ref{nncp-log}} command. @item -progress, -noprogress Either force progress showing, or disable it. @item -version @@ -42,18 +46,29 @@ Nearly all commands have the following common options: Print warranty information (no warranty). @end table +@vindex TMPDIR +All commands respect @env{$TMPDIR} environment variable. + +@vindex NNCPNOSYNC +If you set @env{$NNCPNOSYNC=1}, then all @code{fsync} operations will be +skipped. That is dangerous option, but if there there are abilities to +rollback possibly corrupted state to some stable snapshot, then disabled +@code{fsync} can give considerable increase in performance. + @menu Configuration file commands * nncp-cfgnew:: * nncp-cfgmin:: * nncp-cfgenc:: +* nncp-cfgdir:: Packets creation commands * nncp-file:: * nncp-exec:: * nncp-freq:: +* nncp-trns:: Packets sharing commands @@ -85,9 +100,11 @@ Maintenance, monitoring and debugging commands: @include cmd/nncp-cfgnew.texi @include cmd/nncp-cfgmin.texi @include cmd/nncp-cfgenc.texi +@include cmd/nncp-cfgdir.texi @include cmd/nncp-file.texi @include cmd/nncp-exec.texi @include cmd/nncp-freq.texi +@include cmd/nncp-trns.texi @include cmd/nncp-xfer.texi @include cmd/nncp-bundle.texi @include cmd/nncp-toss.texi