Skip to content

Commit 25b4fc6

Browse files
committed
Code refactoring
1 parent ada27c4 commit 25b4fc6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func Init(gitRev string, gomod []byte) {
161161
showAbout(gitRev)
162162
os.Exit(0)
163163
case options.GetB(OPT_VERB_VER):
164-
support.ShowSupportInfo(APP, VER, gitRev, gomod)
164+
support.Print(APP, VER, gitRev, gomod)
165165
os.Exit(0)
166166
case options.GetB(OPT_HELP) || len(args) == 0:
167167
showUsage()

cli/support/support.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525

2626
// ////////////////////////////////////////////////////////////////////////////////// //
2727

28-
// ShowSupportInfo prints verbose info about application, system, dependencies and
28+
// Print prints verbose info about application, system, dependencies and
2929
// important environment
30-
func ShowSupportInfo(app, ver, gitRev string, gomod []byte) {
30+
func Print(app, ver, gitRev string, gomod []byte) {
3131
fmtutil.SeparatorTitleColorTag = "{s-}"
3232
fmtutil.SeparatorFullscreen = false
3333
fmtutil.SeparatorColorTag = "{s-}"

0 commit comments

Comments
 (0)