summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author ThiƩbaud Weksteen <tweek@google.com> 2023-09-21 16:44:52 +1000
committer ThiƩbaud Weksteen <tweek@google.com> 2023-09-22 10:46:43 +1000
commit039334381ea0bd19fcad15d1940af98d0ad51428 (patch)
treedd1ee07b6f9838a153928ad7e1c4297eefd119c1 /libs/androidfw/AttributeResolution.cpp
parent03e470ea235881e40e831d9f166cfa6672ace9d1 (diff)
lint_fix: fix CLI arguments use
Commit df4cd065 updated how command line arguments are parsed. However, sys.argv[0] should be ignored (as this is the name of the program). Remove the argument, so the default value (sys.argv[1:]) is used. Also, use the embedded_launcher so that the help renders as: usage: lint_fix [-h] instead of: usage: usage: __soong_entrypoint_redirector__.py [-h] Test: lint_fix --print --no-fix --check AnnotatedAidlCounter \ --lint-module AndroidUtilsLintChecker services.autofill Change-Id: I00e3e3b70c9715e363d3448ae84bf9ff161f2306
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions