From 01bb2d56be41c3f35fda10accaa55f262ec116ac Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Tue, 2 Aug 2016 18:36:19 -0400 Subject: [PATCH 1/2] Fixed usage examples --- cli/cli.go | 2 +- readme.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index f29ee91..dfbe76e 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -474,7 +474,7 @@ func showUsage() { info.AddExample("google.com", "Check google.com") info.AddExample("-P google.com", "Check google.com and return zero exit code only if result is perfect (A+)") - info.AddExample("-p -c google.com", "Check google.com, publish results, use cache") + info.AddExample("-p -c google.com", "Check google.com, publish results, avoid cache usage") info.AddExample("hosts.txt", "Check all hosts defined in hosts.txt file") info.Render() diff --git a/readme.md b/readme.md index 68ee371..2192550 100644 --- a/readme.md +++ b/readme.md @@ -43,8 +43,8 @@ Options: --format, -f text|json|xml Output result in different formats --detailed, -d Show detailed info for each endpoint --ignore-mismatch, -i Proceed with assessments on certificate mismatch - --cache, -c Use cache if possible - --public, -p Publish results on ssllabs.com + --avoid-cache, -c Avoid cache usage + --public, -p Publish results on sslscan.com --perfect, -P Return non-zero exit code if not A+ --notify, -n Notify when check is done --quiet, -q Don't show any output @@ -54,16 +54,16 @@ Options: Examples: - sslscan google.com + sslcli google.com Check google.com - sslscan -P google.com + sslcli -P google.com Check google.com and return zero exit code only if result is perfect (A+) - sslscan -p -c google.com + sslcli -p -c google.com Check google.com, publish results, use cache - sslscan hosts.txt + sslcli hosts.txt Check all hosts defined in hosts.txt file ```` From bb6d1aa86aeb181ed8db8ca24de54f9a739617ab Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Tue, 2 Aug 2016 18:38:50 -0400 Subject: [PATCH 2/2] Fixed usage examples --- cli/cli.go | 4 ++-- readme.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index dfbe76e..a06fe3f 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -463,7 +463,7 @@ func showUsage() { info.AddOption(ARG_FORMAT, "Output result in different formats", "text|json|xml") info.AddOption(ARG_DETAILED, "Show detailed info for each endpoint") info.AddOption(ARG_IGNORE_MISMATCH, "Proceed with assessments on certificate mismatch") - info.AddOption(ARG_AVOID_CACHE, "Avoid cache usage") + info.AddOption(ARG_AVOID_CACHE, "Disable cache usage") info.AddOption(ARG_PUBLIC, "Publish results on sslscan.com") info.AddOption(ARG_PERFECT, "Return non-zero exit code if not A+") info.AddOption(ARG_NOTIFY, "Notify when check is done") @@ -474,7 +474,7 @@ func showUsage() { info.AddExample("google.com", "Check google.com") info.AddExample("-P google.com", "Check google.com and return zero exit code only if result is perfect (A+)") - info.AddExample("-p -c google.com", "Check google.com, publish results, avoid cache usage") + info.AddExample("-p -c google.com", "Check google.com, publish results, disable cache usage") info.AddExample("hosts.txt", "Check all hosts defined in hosts.txt file") info.Render() diff --git a/readme.md b/readme.md index 2192550..9849272 100644 --- a/readme.md +++ b/readme.md @@ -43,7 +43,7 @@ Options: --format, -f text|json|xml Output result in different formats --detailed, -d Show detailed info for each endpoint --ignore-mismatch, -i Proceed with assessments on certificate mismatch - --avoid-cache, -c Avoid cache usage + --avoid-cache, -c Disable cache usage --public, -p Publish results on sslscan.com --perfect, -P Return non-zero exit code if not A+ --notify, -n Notify when check is done @@ -61,7 +61,7 @@ Examples: Check google.com and return zero exit code only if result is perfect (A+) sslcli -p -c google.com - Check google.com, publish results, use cache + Check google.com, publish results, disable cache usage sslcli hosts.txt Check all hosts defined in hosts.txt file