The parsing tests need to be able to try invalid arguments to make sure that these are handled correctly. Provide a way to return the parsers being used, as well as to pass in the parsers to use. This feature is needed in test_series_no_subcmd(), for example.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/patman/cmdline.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Applied to sjg/master, thanks!