fix cli args
This commit is contained in:
parent
f511d39e3c
commit
a240086b0a
|
@ -12,8 +12,8 @@ from .watcher import SaveWatcher
|
|||
@click.option('--save', '-s', type=Path, help='Path to Borderlands 2 game saves')
|
||||
@click.option('--no-access-log', '-a', is_flag=True, default=True, help='Enable the server\'s access logging')
|
||||
@click.pass_context
|
||||
def cli(ctx, host, port, save, access_log):
|
||||
ctx.obj = Server(host, port, save, access_log)
|
||||
def cli(ctx, host, port, save, no_access_log):
|
||||
ctx.obj = Server(host, port, save, no_access_log)
|
||||
|
||||
|
||||
@cli.command('run')
|
||||
|
|
Loading…
Reference in a new issue