treewide: Disable automatic argparse argument shortening

Disables allowing the python argparse library from automatically
shortening command line arguments, this prevents issues whereby
a new command is added and code that wrongly uses the shortened
command of an existing argument which is the same as the new
command being added will silently change script behaviour.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2023-01-04 16:08:36 +00:00 committed by Stephanos Ioannidis
commit ec7044437e
85 changed files with 104 additions and 97 deletions

View file

@ -683,7 +683,7 @@ async def main():
ipc_command(dsp.HIPCTDR & ~0x80000000, dsp.HIPCTDD)
ap = argparse.ArgumentParser(description="DSP loader/logger tool")
ap = argparse.ArgumentParser(description="DSP loader/logger tool", allow_abbrev=False)
ap.add_argument("-q", "--quiet", action="store_true",
help="No loader output, just DSP logging")
ap.add_argument("-v", "--verbose", action="store_true",