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

Rackspace protocol CLI help has too many slashes #10771

Closed
cyberduck opened this issue Aug 2, 2019 · 1 comment
Closed

Rackspace protocol CLI help has too many slashes #10771

cyberduck opened this issue Aug 2, 2019 · 1 comment
Labels
bug cli Command Line Interface duplicate

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Aug 2, 2019

50365de created the issue

The CLI help lists the Rackspace Cloud files protocol as

$ duck --help
Usage:duck [options...]
...
Default protocols
...
Rackspace Cloud Files (US) rackspace:///
...

However the documentation at https://trac.cyberduck.io/wiki/help/en/howto/cli#URI lists the protocol as
rackspace:// (absolute)
rackspace:/ (relative)

It appears that some time in the last few months prior to 6.9.4, rackspace:// was treated the same as rackspace:/ but this is no longer the case the the URI cannot be specified with two slashes. If it is the item is treated as server address which is non-sensical for the rackspace protocol.

To resolve this bug the help should have the extra slash removed to become:

$ duck --help
Usage:duck [options...]
...
Default protocols
...
Rackspace Cloud Files (US) rackspace://
...

I have examined the source and each protocol is enumerated from lines 59-71 of https://github.com/iterate-ch/cyberduck/blob/master/cli/src/main/java/ch/cyberduck/cli/TerminalHelpPrinter.java

@cyberduck
Copy link
Collaborator Author

cyberduck commented Aug 5, 2019

@dkocher commented

Duplicate for #10770.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug cli Command Line Interface duplicate
Projects
None yet
Development

No branches or pull requests

1 participant