Skip to content

Commit

Permalink
set silence usage to true
Browse files Browse the repository at this point in the history
  • Loading branch information
koki-develop committed Apr 15, 2023
1 parent 2660ff4 commit 67df30f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ var (
)

var rootCmd = &cobra.Command{
Use: "gh grass",
Short: "Print github grass to console",
Long: "Print github grass to console.",
Args: cobra.ExactArgs(0),
Use: "gh grass",
Short: "Print github grass to console",
Long: "Print github grass to console.",
Args: cobra.ExactArgs(0),
SilenceUsage: true,
RunE: func(cmd *cobra.Command, args []string) error {
t, ok := themes[flagTheme]
if !ok {
Expand Down

0 comments on commit 67df30f

Please sign in to comment.