Browse Source

Merge "Allow zero positional arguments"

Zuul 1 year ago
parent
commit
7733dc1c6d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      oslogmerger/oslogmerger.py

+ 1
- 1
oslogmerger/oslogmerger.py View File

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

Loading…
Cancel
Save