[PATCH 1/5] patman: Split out arg parsing into its own file

Simon Glass sjg at chromium.org
Wed Nov 15 14:17:01 CET 2023


Move this code into a separate cmdline module, as is done with the
other tools.

Use the same HAS_TESTS check as buildman

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

 tools/patman/__main__.py | 116 +-----------------------------
 tools/patman/cmdline.py  | 147 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 150 insertions(+), 113 deletions(-)
 create mode 100644 tools/patman/cmdline.py

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list