Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading documentation or behavior for get -P #708

Open
fi5er opened this issue Jul 22, 2023 · 0 comments
Open

Misleading documentation or behavior for get -P #708

fi5er opened this issue Jul 22, 2023 · 0 comments

Comments

@fi5er
Copy link

fi5er commented Jul 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant