Closed Bug 940351 Opened 11 years ago Closed 6 years ago

flash.sh should not start flashing if command line args are ambiguous

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dfnsonfsduifb, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20131003204948

Steps to reproduce:

I typed

$ ./flash.sh --help


Actual results:

It started to flash a fastboot image that was broken on my phone, effectively bricking it :-(


Expected results:

I only wanted to see a help page. flash.sh should only start flashing when the command line arguments are clean and non-ambigous. Specifically, when it doesn't understand the command line completely, it should abort and not start flashing.
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.