Make markdown:generate annotation a markdown generation override for hidden commands
This commit is contained in:
parent
f770c6481c
commit
241e90aa9b
5 changed files with 6 additions and 18 deletions
|
|
@ -16,9 +16,6 @@ func NewCmdVersion(f *cmdutil.Factory, version, buildDate string) *cobra.Command
|
|||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Fprint(f.IOStreams.Out, Format(version, buildDate))
|
||||
},
|
||||
Annotations: map[string]string{
|
||||
"markdown:generate": "false",
|
||||
},
|
||||
}
|
||||
|
||||
cmdutil.DisableAuthCheck(cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue