From a04c96c5b27263a77580ba2255c0b9f5294b53f2 Mon Sep 17 00:00:00 2001 From: kfp Date: Fri, 21 Feb 2020 22:21:54 -0800 Subject: [PATCH] Fix long option for port= --- ssh-audit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh-audit.py b/ssh-audit.py index 63369c5..b91fd14 100755 --- a/ssh-audit.py +++ b/ssh-audit.py @@ -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: