config.py, print help if no arguments provided
This commit is contained in:
parent
2c6df3b5a2
commit
d66e08c2b5
|
@ -175,6 +175,11 @@ def main():
|
|||
'-b', '--list-blueprints',
|
||||
metavar='FILTER',
|
||||
help='list available blueprints matching FILTER (use \'*\' to list them all)')
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
argparser.print_help()
|
||||
return
|
||||
|
||||
args = argparser.parse_args()
|
||||
|
||||
client = carla.Client(args.host, args.port, worker_threads=1)
|
||||
|
|
Loading…
Reference in New Issue