[scanner] fix minor CLI handling and --list bugs / typo

This commit is contained in:
fnux 2021-05-26 11:26:35 +02:00
commit b8733c65f5
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12
2 changed files with 7 additions and 7 deletions

View file

@ -495,7 +495,7 @@ def get_parsers():
action='store_true',
help='Try to configure detected hosts')
parser['scan'].add_argument(
'-I', '--interfaces',
'-I', '--interface',
action='append', default=[], required=True,
help='On which interfaces to scan/trigger')
parser['scan'].add_argument(
@ -503,7 +503,7 @@ def get_parsers():
action='store', default=None,
help='Map addresses to names, required for config mode')
parser['scan'].add_argument(
'-d', '--delay',
'-d', '--config-delay',
action='store', default=3600, type=int,
help='How long (seconds) to wait before reconfiguring after last try')
parser['scan'].add_argument(