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:
Matthew Booth 2017-09-20 17:36:15 +01:00
parent 06de0ba054
commit 11e139a706
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ one has not been provided:'
help='Base path for all the log files')
parser.add_argument('--log-postfix ', '-p', dest='log_postfix',
help='Append to all the log files path')
parser.add_argument('logfiles_detect', nargs='+',
parser.add_argument('logfiles_detect', nargs='*',
metavar='log_file[:ALIAS]',
help='Log file (auto-detect format)')
parser.add_argument('--alias-level', '-a', type=int, default=0,