Skip to content

Commit

Permalink
Fixed usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Aug 2, 2016
1 parent cf454f9 commit 01bb2d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
````
Expand Down

0 comments on commit 01bb2d5

Please sign in to comment.