Merge pull request #15370 from spowelljr/moveLicenseInHelp
Move license command to other section in helppull/15376/head
commit
52f8815c00
|
@ -282,7 +282,6 @@ func init() {
|
|||
updateCheckCmd,
|
||||
versionCmd,
|
||||
optionsCmd,
|
||||
licenseCmd,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -290,6 +289,7 @@ func init() {
|
|||
|
||||
// Ungrouped commands will show up in the "Other Commands" section
|
||||
RootCmd.AddCommand(completionCmd)
|
||||
RootCmd.AddCommand(licenseCmd)
|
||||
templates.ActsAsRootCommand(RootCmd, []string{"options"}, groups...)
|
||||
|
||||
if err := viper.BindPFlags(RootCmd.PersistentFlags()); err != nil {
|
||||
|
|
Loading…
Reference in New Issue