commit | cf76cd2e71f71629264da18df5c09135bb84b462 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Feb 22 22:55:34 2016 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Mar 14 14:19:07 2016 -0400 |
tree | b347a99aa30d92597ec19d9b412f44ff2a10993c | |
parent | 7106bd47c06b29f9ffc2c665918a35803fecbf47 [diff] |
mkimage: Convert to use getopt() The current way of parsing arguments is a bit clumsy. It seems better to use getopt() which is commonly used for this purpose. Convert the code to use getopt() and make a few minor adjustments as needed. Signed-off-by: Simon Glass <sjg@chromium.org>