From e50ac5c84d46e902e026babd22b5f3b4465fa93c Mon Sep 17 00:00:00 2001 From: thecliguy Date: Thu, 27 Oct 2022 15:11:05 +0100 Subject: [PATCH] Gex test usage text (#158) * Reformatted Usage Text for --gex-test in README.md * Reformatted Usage Text for --gex-test in ssh_audit.py Reformatted to adhere to a max line length of 80 characters. --- README.md | 4 +++- src/ssh_audit/ssh_audit.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe1b449..856f63e 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,9 @@ usage: ssh-audit.py [options] software config (use -p to change port; use -t to change timeout) -d, --debug Enable debug output. - -g, --gex-test= dh gex modulus size test + -g, --gex-test= dh gex modulus size test + + -j, --json JSON output (use -jj to enable indents) -l, --level= minimum output level (info|warn|fail) -L, --list-policies list all the official, built-in policies diff --git a/src/ssh_audit/ssh_audit.py b/src/ssh_audit/ssh_audit.py index 6fe2d12..8be3d3e 100755 --- a/src/ssh_audit/ssh_audit.py +++ b/src/ssh_audit/ssh_audit.py @@ -87,7 +87,9 @@ def usage(err: Optional[str] = None) -> None: uout.info(' -b, --batch batch output') uout.info(' -c, --client-audit starts a server on port 2222 to audit client\n software config (use -p to change port;\n use -t to change timeout)') uout.info(' -d, --debug debug output') - uout.info(' -g, --gex-test= dh gex modulus size test') + uout.info(' -g, --gex-test= dh gex modulus size test') + uout.info(' ') + uout.info(' ') uout.info(' -j, --json JSON output (use -jj to enable indents)') uout.info(' -l, --level= minimum output level (info|warn|fail)') uout.info(' -L, --list-policies list all the official, built-in policies')