Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass <sjg@chromium.org>
BUILDMAN_DIR = pathlib.Path(__file__).parent
HAS_TESTS = os.path.exists(BUILDMAN_DIR / "test.py")
-def ParseArgs():
+def parse_args():
"""Parse command line arguments from sys.argv[]
Returns:
result code from buildman
"""
sys.argv = [sys.argv[0]] + list(args)
- options, args = cmdline.ParseArgs()
+ options, args = cmdline.parse_args()
if brds == False:
brds = self._boards
result = control.do_buildman(
This is the main program. It collects arguments and runs either the tests or
the control module.
"""
- options, args = cmdline.ParseArgs()
+ options, args = cmdline.parse_args()
if not options.debug:
sys.tracebacklimit = 0