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
|
@ -15,7 +15,7 @@ from github.Issue import Issue
|
|||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
parser = argparse.ArgumentParser(
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter)
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter, allow_abbrev=False)
|
||||
|
||||
parser.add_argument('pickle_file', metavar='PICKLE-FILE', type=Path,
|
||||
help='pickle file containing list of issues')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue