Put the check for an operation being provided into the parse_args() function, to reduce the size of main(). Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Applied to u-boot-dm, thanks!