diff options
Diffstat (limited to 'cmd/ponzu/main.go')
-rw-r--r-- | cmd/ponzu/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index 6d8c974..fc9757d 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -185,7 +185,8 @@ func init() { cmd.Flags().BoolVar(&devhttps, "devhttps", false, "[dev environment] enable automatic TLS/SSL certificate management") } - rootCmd.AddCommand(runCmd, serveCmd) + RegisterCmdlineCommand(runCmd) + RegisterCmdlineCommand(serveCmd) pflags := rootCmd.PersistentFlags() pflags.StringVar(&gocmd, "gocmd", "go", "custom go command if using beta or new release of Go") |