Fix long option for port=

This commit is contained in:
kfp 2020-02-21 22:21:54 -08:00
parent dc36622b50
commit a04c96c5b2

View File

@ -151,7 +151,7 @@ class AuditConf(object):
aconf = cls()
try:
sopts = 'h1246p:bcnjvl:t:'
lopts = ['help', 'ssh1', 'ssh2', 'ipv4', 'ipv6', 'port', 'json',
lopts = ['help', 'ssh1', 'ssh2', 'ipv4', 'ipv6', 'port=', 'json',
'batch', 'client-audit', 'no-colors', 'verbose', 'level=', 'timeout=']
opts, args = getopt.gnu_getopt(args, sopts, lopts)
except getopt.GetoptError as err: