Tests may want to parse their own arguments. Refactor the parser code to support this and allow settings to receive arguments as well.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/patman/cmdline.py | 32 +++++++++++++++++++++++++------- tools/patman/settings.py | 28 ++++++++++++++++++---------- tools/patman/test_settings.py | 2 +- 3 files changed, 44 insertions(+), 18 deletions(-) Applied to sjg/master, thanks!