Allow zero positional arguments
Allow all log files to have their formats given explicitly, with no auto-detection. Change-Id: I0a0a614642bc543f03d394b5e8822a445e7bde5b
This commit is contained in:
parent
06de0ba054
commit
11e139a706
|
@ -600,7 +600,7 @@ one has not been provided:'
|
||||||
help='Base path for all the log files')
|
help='Base path for all the log files')
|
||||||
parser.add_argument('--log-postfix ', '-p', dest='log_postfix',
|
parser.add_argument('--log-postfix ', '-p', dest='log_postfix',
|
||||||
help='Append to all the log files path')
|
help='Append to all the log files path')
|
||||||
parser.add_argument('logfiles_detect', nargs='+',
|
parser.add_argument('logfiles_detect', nargs='*',
|
||||||
metavar='log_file[:ALIAS]',
|
metavar='log_file[:ALIAS]',
|
||||||
help='Log file (auto-detect format)')
|
help='Log file (auto-detect format)')
|
||||||
parser.add_argument('--alias-level', '-a', type=int, default=0,
|
parser.add_argument('--alias-level', '-a', type=int, default=0,
|
||||||
|
|
Loading…
Reference in New Issue