Skip to content

Commit

Permalink
Merge pull request #20 from KiloFoxtrotPapa/fix-lopt-port
Browse files Browse the repository at this point in the history
Fix long option for port=
  • Loading branch information
jtesta authored Feb 27, 2020
2 parents c9a2f29 + a04c96c commit c043570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def from_cmdline(cls, args, usage_cb):
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:
Expand Down

0 comments on commit c043570

Please sign in to comment.