Skip to content

Commit e9711de

Browse files
committed
UI improvements
1 parent ea738a4 commit e9711de

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,19 @@ Usage: sslcli {options} host…
7171
7272
Options
7373
74-
--format, -f text|json|yaml|xml Output result in different formats
75-
--detailed, -d Show detailed info for each endpoint
76-
--ignore-mismatch, -i Proceed with assessments on certificate mismatch
77-
--avoid-cache, -c Disable cache usage
78-
--public, -p Publish results on sslscan.com
79-
--perfect, -P Return non-zero exit code if not A+
80-
--max-left, -M duration Check expiry date (num + d/w/m/y)
81-
--notify, -n Notify when check is done
82-
--quiet, -q Don't show any output
83-
--no-color, -nc Disable colors in output
84-
--help, -h Show this help message
85-
--version, -v Show version
74+
--format, -f format Output result in different formats (text/json/yaml/xml)
75+
--detailed, -d Show detailed info for each endpoint
76+
--ignore-mismatch, -i Proceed with assessments on certificate mismatch
77+
--avoid-cache, -c Disable cache usage
78+
--public, -p Publish results on sslscan.com
79+
--perfect, -P Return non-zero exit code if not A+
80+
--max-left, -M duration Check expiry date (num + d/w/m/y)
81+
--notify, -n Notify when check is done
82+
--quiet, -q Don't show any output
83+
--pager, -G Use pager for long output
84+
--no-color, -nc Disable colors in output
85+
--help, -h Show this help message
86+
--version, -v Show version
8687
8788
Examples
8889

cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ func genUsage() *usage.Info {
636636

637637
info.AppNameColorTag = colorTagApp
638638

639-
info.AddOption(OPT_FORMAT, "Output result in different formats", "text|json|yaml|xml")
639+
info.AddOption(OPT_FORMAT, "Output result in different formats {s-}(text/json/yaml/xml){!}", "format")
640640
info.AddOption(OPT_DETAILED, "Show detailed info for each endpoint")
641641
info.AddOption(OPT_IGNORE_MISMATCH, "Proceed with assessments on certificate mismatch")
642642
info.AddOption(OPT_AVOID_CACHE, "Disable cache usage")

0 commit comments

Comments
 (0)