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:
parent
d428c8c836
commit
ec7044437e
85 changed files with 104 additions and 97 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue