ppa put invalid subcommand

Bug #2066884 reported by Alberto Contreras
6
This bug affects 1 person
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,desc,destroy,list,show,status,tests,wait} ...

PPA developer tools

positional arguments:
  {create,desc,destroy,list,show,status,tests,wait}
    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
                        Location of config file
  -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.changes
...

$ ppa put ppa:aciba/up-pro+free ubuntu-advantage-tools_32.1ubuntu1_source.changes
usage: ppa [-h] [-C CONFIG_FILENAME] [-D] [-V] [--dry-run] [-v] [-q] {create,desc,destroy,list,show,status,tests,wait} ...
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`.

Bryce Harrington (bryce)
Changed in ppa-dev-tools:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Bryce Harrington (bryce)
Revision history for this message
Bryce Harrington (bryce) wrote :

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.

Changed in ppa-dev-tools:
status: In Progress → Fix Committed
Changed in ppa-dev-tools:
assignee: Bryce Harrington (bryce) → Alberto Contreras (aciba)
Revision history for this message
Bryce Harrington (bryce) wrote :
Changed in ppa-dev-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.