ao-tools/ao-usbload: Fix -f flag, remove debug hacks
authorKeith Packard <keithp@keithp.com>
Sat, 3 Sep 2016 04:34:47 +0000 (23:34 -0500)
committerKeith Packard <keithp@keithp.com>
Sat, 3 Sep 2016 04:34:47 +0000 (23:34 -0500)
commit3ea30c1909b3ae23918ea6d0a53d2c4065b08763
treef06f7917dc908a8d23dc63e3a90065cb964333a9
parentdfaabc1ca3aaad0d249283308b06d3e0567f0c59
ao-tools/ao-usbload: Fix -f flag, remove debug hacks

The code to validate the usb id and product name had some debug hacks
left enabled, which caused it to fail. The short -f version of the
force flag was also not getting parsed correctly.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-usbload/ao-usbload.c