commit | 8879f988bac8d4cb46fb82e3d82ad69a9ed89b16 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue May 22 17:53:34 2012 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jul 09 22:16:55 2012 -0700 |
tree | 4f1aa2a4a5aa60b88ad7189d92c41086f6054f4a | |
parent | b43828b247fd4f1e0373584de0504004c69eeac9 [diff] |
fastboot: use getopt_long Modify the fastboot argument parsing to use getopt_long. This simplifies argument parsing, and permutes all the commands to the end of argv to allow parsing them later. Also moves usb initailization between argument and command processing, to allow commands to query parameters over usb. Change-Id: I883572f52c4190c80ee3b4aa4511ea2061a6b734