mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Fix handling of default value for task argument
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
6419ab5299
commit
542d932352
@ -153,7 +153,7 @@ def main():
|
|||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=__doc__)
|
||||||
parser.add_argument('outcomes', metavar='OUTCOMES.CSV',
|
parser.add_argument('outcomes', metavar='OUTCOMES.CSV',
|
||||||
help='Outcome file to analyze')
|
help='Outcome file to analyze')
|
||||||
parser.add_argument('task', default='all',
|
parser.add_argument('task', default='all', nargs='?',
|
||||||
help='Analysis to be done. By default, run all tasks. '
|
help='Analysis to be done. By default, run all tasks. '
|
||||||
'With one or more TASK, run only those. '
|
'With one or more TASK, run only those. '
|
||||||
'TASK can be the name of a single task or '
|
'TASK can be the name of a single task or '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user