commit | a02221f29deb88145f6a1494450a8b9d20c9d596 | [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 | 0b443dee6b0a74ac59fdbeda7b5a667c209a5948 [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>