File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ var serverMessageShown bool
131131
132132// ////////////////////////////////////////////////////////////////////////////////// //
133133
134- // Init is main function
135- func Init (gitRev string , gomod []byte ) {
134+ // Run is main function
135+ func Run (gitRev string , gomod []byte ) {
136136 runtime .GOMAXPROCS (2 )
137137
138138 preConfigureUI ()
@@ -624,12 +624,12 @@ func printError(f string, a ...interface{}) {
624624
625625// showUsage prints usage info
626626func showUsage () {
627- genUsage ().Render ()
627+ genUsage ().Print ()
628628}
629629
630630// showAbout prints info about version
631631func showAbout (gitRev string ) {
632- genAbout (gitRev ).Render ()
632+ genAbout (gitRev ).Print ()
633633}
634634
635635// genMan generates man page
Original file line number Diff line number Diff line change 44
55require (
66 github.com/essentialkaos/depsy v1.0.0
7- github.com/essentialkaos/ek/v12 v12.60.1
7+ github.com/essentialkaos/ek/v12 v12.61.0
88 github.com/essentialkaos/sslscan/v13 v13.1.4
99)
1010
Original file line number Diff line number Diff line change 11github.com/andybalholm/brotli v1.0.4 /go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig =
22github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs =
33github.com/andybalholm/brotli v1.0.5 /go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig =
4- github.com/essentialkaos/check v1.3 .0 h1:ria+8o22RCLdt2D/1SHQsEH5Mmy5S+iWHaGHrrbPUc0 =
4+ github.com/essentialkaos/check v1.4 .0 h1:kWdFxu9odCxUqo1NNFNJmguGrDHgwi3A8daXX1nkuKk =
55github.com/essentialkaos/depsy v1.0.0 h1:FikBtTnNhk+xFO/hFr+CfiKs6QnA3wMD6tGL0XTEUkc =
66github.com/essentialkaos/depsy v1.0.0 /go.mod h1:XVsB2eVUonEzmLKQP3ig2P6v2+WcHVgJ10zm0JLqFMM =
7- github.com/essentialkaos/ek/v12 v12.60.1 h1:8soxFFOK5ryGxjrlcc6tAHdeVoCI5paIpXYqh+CTrMQ =
8- github.com/essentialkaos/ek/v12 v12.60.1 /go.mod h1:aDym0Lf/AFZJ37hJhJ+JAw2AeQQAwcYksjSC5lDNWh4 =
7+ github.com/essentialkaos/ek/v12 v12.61.0 h1:8cmtVy/0FqUuWJVQNTnaeFxpQSiPWAxPc6j2EIUAEpA =
8+ github.com/essentialkaos/ek/v12 v12.61.0 /go.mod h1:9MlSuHpewu7OZ9tM9dLFHvoA8dflBIUPCA0Ctt97wRs =
99github.com/essentialkaos/sslscan/v13 v13.1.4 h1:MQaaVdp7TRBP92ci90vIq1x9BZfKfrfdMMdhAOSrrsY =
1010github.com/essentialkaos/sslscan/v13 v13.1.4 /go.mod h1:xAzDhR8d+QyugSLJoWvUH1MCz7seaLUwayIqRCEjFGg =
1111github.com/klauspost/compress v1.15.9 /go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU =
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ var gitrev string
2727// ////////////////////////////////////////////////////////////////////////////////// //
2828
2929func main () {
30- CLI .Init (gitrev , gomod )
30+ CLI .Run (gitrev , gomod )
3131}
You can’t perform that action at this time.
0 commit comments