Reduce the size of main() by putting this code into its own function. For now the parser object needs to be returned too. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!