Add missing argument for add_device parameter list.

This commit is contained in:
Sebastian Lenzlinger 2024-07-01 19:22:09 +02:00
parent da05edb71a
commit 7daca7f3ad

View File

@ -26,7 +26,7 @@ def add_device_guided(ctx, cn, db):
help='Database in which to add this device. If not specified use default from config.')
@click.option('--guided', is_flag=True, default=False, show_default=True, envvar='IOTTB_GUIDED_ADD', show_envvar=True,
help='Add device interactively')
def add_device(dev, db, guided):
def add_device(device, db, guided):
"""Add a new device to a database
Device name must be supplied unless in an interactive setup.