Misleading documentation or behavior for get -P
Opened this issue · 0 comments
fi5er commented
The man page section for get
currently reads:
get [-E] [-a] [-c] [-e] [-P N] [-O base] rfile [-o lfile] ...
(...)
-P N download N files in parallel
However, get
does not accept a value for N
. Concurrent downloads work (the limit might be taken from net:connection-limit
instead), but attempting to provide a limit like -P 4
will see "4" as a file name. mget -P
, on the other hand, does require a number for N
.
I'm not sure if this is intentional and just a documentation issue, or if both commands should accept a specified limit. It's also possible that put
and mput
have a similar problem, but I can't test this due to lack of write permissions on the server.
Closely related: the -P
option is completely missing from the online help for get
, mget
, put
, and mput
in src/commands.cc
.