diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-08-27 14:45:48 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-11 14:05:36 -0800 |
commit | 5b906ca06bd08fffb50afb64c68e161556bbfcbd (patch) | |
tree | 37d3545abce7e26ba9a208382749837bb84aa987 /misc-utils/flashcp.c | |
parent | c446c257406f51691dd289fa58e476c81c8d6ddd (diff) |
flash_{un,}lock: abstract the argument positions
Previously, there were no options (besides stand-alone --help and
--version), so we just used fixed-position argv indexes. Let's change
that.
Also clean up the sanity checks a bit to make them more verbose and
specific.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'misc-utils/flashcp.c')
0 files changed, 0 insertions, 0 deletions