summaryrefslogtreecommitdiff
path: root/cmd/ponzu/usage.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-05-22 01:56:17 -0700
committerSteve Manuel <nilslice@gmail.com>2017-05-22 01:56:17 -0700
commitba0166f681e054afd6a3c9192ea1c68e6d7bc6a5 (patch)
treebcdc5c2514b63709edf442d9c21efc59d151edea /cmd/ponzu/usage.go
parent4854ce1d4e3adca3b416a564a8d0018448808e52 (diff)
updating usage notes and multi-word formatted flags
Diffstat (limited to 'cmd/ponzu/usage.go')
-rw-r--r--cmd/ponzu/usage.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ponzu/usage.go b/cmd/ponzu/usage.go
index 9a78587..da28b44 100644
--- a/cmd/ponzu/usage.go
+++ b/cmd/ponzu/usage.go
@@ -77,6 +77,8 @@ var helpCmd = &cobra.Command{
var cmds []*cobra.Command
+// RegisterCmdlineCommand adds a cobra command to the root command and makes it
+// known to the main package
func RegisterCmdlineCommand(cmd *cobra.Command) {
rootCmd.AddCommand(cmd)
cmds = append(cmds, cmd)