]> git.baikalelectronics.ru Git - uboot.git/commit
moveconfig: Convert to ArgumentParser
authorSimon Glass <sjg@chromium.org>
Sat, 18 Dec 2021 21:54:31 +0000 (14:54 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 22:36:29 +0000 (17:36 -0500)
commit571abc8a9a1382ab116b99f6624203a63005b8cc
tree1aa1caeee5a050d5c7d165eeee0d7e9e6697e219
parent0d0392144150f669c963f594f760c02e5e705497
moveconfig: Convert to ArgumentParser

This is a newer library and is now preferred for Python scripts. Update
the code to use it instead of optparse

Use 'args' instead of 'options' throughout, since this is the term used
in that module. Also it helps to avoid confusion with CONFIG options, a
term that is used in this file.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/moveconfig.py