From fc7c5943499f706e25247bcc32d854002bd88482 Mon Sep 17 00:00:00 2001 From: hau Date: Tue, 5 Jan 2021 15:48:09 +0700 Subject: [PATCH] chore(cli): better usage text --- main.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index b3c95db..64325fa 100644 --- a/main.go +++ b/main.go @@ -18,8 +18,7 @@ import ( ) const ( - name = "changeloguru" - description = "generate changelog from conventional commits" + name = "changeloguru" currentDir = "." markdownFiletype = "md" @@ -47,8 +46,8 @@ func main() { } app := &cli.App{ - Name: name, - Description: description, + Name: name, + Usage: "generate changelog from conventional commits", Flags: []cli.Flag{ &cli.StringFlag{ Name: fromFlag, @@ -56,7 +55,7 @@ func main() { }, &cli.StringFlag{ Name: toFlag, - Usage: "generate to `COMMIT` (include that commit)", + Usage: "generate to `COMMIT`", }, &cli.StringFlag{ Name: versionFlag,