Add missing argument for add_device parameter list.
This commit is contained in:
parent
da05edb71a
commit
7daca7f3ad
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user