Skip to content

Commit

Permalink
fix: cobra command with no args
Browse files Browse the repository at this point in the history
  • Loading branch information
kodumbeats authored and toby committed Mar 31, 2022
1 parent 548c218 commit 0a994f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var (
Use: "list-dbs",
Hidden: false,
Short: "List databases.",
Args: cobra.MaximumNArgs(0),
Args: cobra.NoArgs,
RunE: listDbs,
}

Expand Down

0 comments on commit 0a994f6

Please sign in to comment.