cmd: hyphen case cli and config (#5777)

This commit is contained in:
Callum Waters
2020-12-11 13:14:04 +01:00
committed by GitHub
parent c1be58a27b
commit 3283a84ab2
22 changed files with 306 additions and 274 deletions
+3 -2
View File
@@ -100,8 +100,9 @@ func main() {
)
nodeCmd := &cobra.Command{
Use: "node",
Short: "Run the maverick node",
Use: "start",
Aliases: []string{"node", "run"},
Short: "Run the maverick node",
RunE: func(command *cobra.Command, args []string) error {
return startNode(config, logger, misbehaviorFlag)
},