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 3a0066e commit 1c6ded8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsot_sync/commands/device_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
help='The SNMP community for auto discovery.')
@click.option(
'--snmp-version',
default='v3c',
default='v2c',
type=str,
required=True,
help='The SNMP version for auto discovery.')
help='The SNMP version for auto discovery, option are \'v1\', \'v2c\', \'v3\'')
@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):
Expand Down

0 comments on commit 1c6ded8

Please sign in to comment.