Skip to content

Commit

Permalink
change exit to raise in creds_mng
Browse files Browse the repository at this point in the history
  • Loading branch information
liorf committed Mar 1, 2017
1 parent a72dcdc commit 2a35e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsot_sync/commands/device_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)
@click.option('--scan-vlan', type=int, required=True, help='The vlan ID of the management vlan.')
@click.option('--snmp-community', type=str, required=True, help='The SNMP community for auto discovery.')
@click.option('--update-creds', is_flag=True, defualt=False, help='Update the exiting cached credentials.')
@click.option('--update-creds', is_flag=True, default=False, help='Update the exiting cached credentials.')
@click.pass_context
def cli(ctx, max_threads, scan_vlan, snmp_community, snmp_version, update_creds):
driver = device_scanner.DeviceScannerDriver(
Expand Down

0 comments on commit 2a35e10

Please sign in to comment.