[PATCH v4 56/83] buildman: Convert to argparse

Simon Glass sjg at chromium.org
Mon Jul 24 20:45:17 CEST 2023


Use argparse to parse the arguments, since OptionParser is deprecated now.

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

(no changes since v1)

 tools/buildman/cmdline.py   | 130 +++++++++++++++++----------------
 tools/buildman/control.py   | 141 ++++++++++++++++++------------------
 tools/buildman/func_test.py |   6 +-
 tools/buildman/main.py      |  17 ++---
 4 files changed, 148 insertions(+), 146 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list