From d783ded67290934f9295488f99dadc204f7578c2 Mon Sep 17 00:00:00 2001 From: mritd Date: Mon, 7 Feb 2022 09:01:44 +0800 Subject: [PATCH] style(cmd): update banner update banner Signed-off-by: mritd --- cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index 25db057..cfea6ee 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -36,7 +36,7 @@ var ( var rootCmd = &cobra.Command{ Use: "hysteria", - Short: fmt.Sprintf("%s%s\n\n%s %s %s -- %s", logo, desc, appVersion, appDate, appCommit, authors), + Long: fmt.Sprintf("%s%s\n\nVersion:\t%s\nBuildDate:\t%s\nCommitHash:\t%s\nAuthors:\t%s", logo, desc, appVersion, appDate, appCommit, authors), Example: "./hysteria server --config /etc/hysteria.json", Version: fmt.Sprintf("%s%s %s %s", logo, appVersion, appDate, appCommit), PersistentPreRun: func(cmd *cobra.Command, args []string) {