storage devices, and/or at different time, reassembling the whole packet
on the destination node.
-Splitting is done with @ref{nncp-file, nncp-file -chunk} command and
+Splitting is done with @ref{nncp-file, nncp-file -chunked} command and
reassembling with @ref{nncp-reass} command.
Chunked @file{FILE} produces @file{FILE.nncp.meta},
@section nncp-file
@verbatim
-% nncp-file [options] [-chunk INT] SRC NODE:[DST]
+% nncp-file [options] [-chunked INT] SRC NODE:[DST]
@end verbatim
Send @file{SRC} file to remote @option{NODE}. @file{DST} specifies
temporary file and resulting encrypted packet. You can control where
temporary file will be stored using @env{TMPDIR} environment variable.
-If @option{-chunk} is specified, then source file will be split
+If @option{-chunked} is specified, then source file will be split
@ref{Chunked, on chunks}. @option{INT} is the desired chunk size in
KiBs. This mode is more CPU hungry. Pay attention that chunk is saved in
spool directory immediately and it is not deleted if any error occurs.
cfgPath = flag.String("cfg", nncp.DefaultCfgPath, "Path to configuration file")
niceRaw = flag.Int("nice", nncp.DefaultNiceFile, "Outbound packet niceness")
minSize = flag.Uint64("minsize", 0, "Minimal required resulting packet size")
- chunkSize = flag.Uint64("chunk", 0, "Split file on specified size chunks, in KiB")
+ chunkSize = flag.Uint64("chunked", 0, "Split file on specified size chunks, in KiB")
quiet = flag.Bool("quiet", false, "Print only errors")
debug = flag.Bool("debug", false, "Print debug messages")
version = flag.Bool("version", false, "Print version information")