style(cmd): update banner

update banner

Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
mritd 2022-02-07 09:01:44 +08:00
parent 01dc2beb71
commit d783ded672
No known key found for this signature in database
GPG Key ID: 150E1851F767CDDD

View File

@ -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) {