ubuntu-device-flash needs better argument validation

Bug #1359219 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phablet-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

This happens:

ubuntu-device-flash channel=devel-proposed --bootstrap
2014/08/20 14:33:13 Expecting the device to be in the bootloader... waiting
2014/08/20 14:33:13 Device is |mako|
2014/08/20 14:33:13 Flashing version 11 from ubuntu-touch/stable channel and server https://system-image.ubuntu.com to device mako
2014/08/20 14:33:13 ubuntu-touch/stable is a channel alias to ubuntu-touch/stable

even though the current version in devel-proposed (at the time of filing the bug) was r201. Turns out this is because 'channel=' was specified instead of '--channel='.

The tool should not allow unrecognized arguments or options to be specified - if someone makes a typo then they should hear about it immediately, not get unexpected behaviour from the tool.

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.