juju scp reports -r as an invalid option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Triaged
|
High
|
Unassigned |
Bug Description
The help for 1.19.2 'juju scp' shows an example using the '-r' option as seen here:
% juju help scp
usage: juju scp [options] <file1> ... <file2> [scp-option...]
purpose: launch a scp command to copy files to/from remote machine(s)
[...]
Recursively copy the directory /var/log/mongodb/ on the first mongodb
server to the local directory remote-logs:
juju scp -r mongodb/
However when trying to do a recursive copy I get an error.
juju scp -r ~/charms/precise charmworld/0:/tmp
error: flag provided but not defined: -r
The help text should not describe options that are not supported. So the help needs to be fixed or the -r should work. The latter would sure be the nicer of the two outcomes.
summary: |
- juju scp report -r as an invalid option + juju scp reports -r as an invalid option |
tags: | added: ssh |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → next-stable |
description: | updated |
% juju --version
1.19.2-trusty-amd64