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 01bb2d5 commit bb6d1aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bb6d1aa

Please sign in to comment.