keep consistent with other subcommands

Signed-off-by: Adam Martin <adam.martin@rancherfederal.com>
This commit is contained in:
Adam Martin
2023-12-05 11:29:01 -05:00
parent 93ae968580
commit e2176d211a
2 changed files with 1 additions and 7 deletions

View File

@@ -35,6 +35,7 @@ func New() *cobra.Command {
addStore(cmd)
addServe(cmd)
addVersion(cmd)
addCompletion(cmd)
return cmd
}

View File

@@ -6,13 +6,6 @@ import (
"github.com/spf13/cobra"
)
var cmd = &cobra.Command{
Use: "completion",
Short: "Generates completion scripts for various shells",
Long: `The completion sub-command generates completion scripts for various shells.`,
}
func addCompletion(parent *cobra.Command) {
cmd := &cobra.Command{
Use: "completion",