patman: Convert to ArgumentParser
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2020 03:41:53 +0000 (21:41 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commitfda1e372d35dc956317923f5057c3ac83be7f571
treec019d16ce2ec2346ccf55d80b50304f5ae396f21
parent137947e05b25a9e511bbc30bd795c9d95deec0cb
patman: Convert to ArgumentParser

Convert from OptionParser to ArgumentParser to match binman. With this we
can easily add sub-commands.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/control.py
tools/patman/main.py
tools/patman/settings.py