[RFC PATCH 06/16] patman: Convert to ArgumentParser

Simon Glass sjg at chromium.org
Mon Jul 20 06:49:44 AEST 2020


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

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/patman/control.py  | 22 ++++-----
 tools/patman/main.py     | 97 ++++++++++++++++++++--------------------
 tools/patman/settings.py | 10 +++--
 3 files changed, 65 insertions(+), 64 deletions(-)

Applied to u-boot-dm


More information about the Patchwork mailing list