ppa put invalid subcommand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppa-dev-tools |
Fix Released
|
High
|
Alberto Contreras |
Bug Description
`ppa --help` shows `ppa put` as an example, but the subcommand does not exist.
```
$ ppa --help
usage: ppa [-h] [-C CONFIG_FILENAME] [-D] [-V] [--dry-run] [-v] [-q] {create,
PPA developer tools
positional arguments:
{create,
create create help
desc desc help
destroy destroy help
list list help
show show help
status status help
tests tests help
wait wait help
options:
-h, --help show this help message and exit
-C CONFIG_FILENAME, --config CONFIG_FILENAME
-D, --debug Turn on general debugging
-V, --version Version information
--dry-run Simulate command without modifying anything
-v, --verbose Print more information during processing
-q, --quiet Minimize output during processing
...
Upload a package to the PPA:
$ ppa put ppa:my-name/my-ppa some-package.
...
$ ppa put ppa:aciba/
usage: ppa [-h] [-C CONFIG_FILENAME] [-D] [-V] [--dry-run] [-v] [-q] {create,
ppa: error: argument command: invalid choice: 'put' (choose from 'create', 'desc', 'destroy', 'list', 'show', 'status', 'tests', 'wait')
$ ppa --version
ppa 0.3.0
```
I would expect either:
1) The subcommand exists.
2) If the subcommand was removed, then remove the example containing `ppa put`.
Related branches
- Bryce Harrington: Pending requested
-
Diff: 13 lines (+0/-3)1 file modifiedscripts/ppa (+0/-3)
Changed in ppa-dev-tools: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Bryce Harrington (bryce) |
Changed in ppa-dev-tools: | |
assignee: | Bryce Harrington (bryce) → Alberto Contreras (aciba) |
Thanks for providing the fix with this, Alberto.
There used to be a `ppa put` command but it was just a trivial wrapper to dput so I ended up dropping it. Apparently I neglected to catch this bit of documentation.