fix cli args

This commit is contained in:
Izalia Mae 2022-04-21 23:09:57 -04:00
parent f511d39e3c
commit a240086b0a

View file

@ -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')