You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's useful to know the version of a controller-gen binary lying around. With
this, we can write checks in the kubebuilder Makefile to upgrade controller-gen
when needed, or at least warn about it.
// print the help if we asked for it (since we've got a different help flag :-/), then bail
150
158
ifhelpLevel>0 {
151
159
returnc.Usage()
@@ -175,6 +183,7 @@ func main() {
175
183
}
176
184
cmd.Flags().CountVarP(&whichLevel, "which-markers", "w", "print out all markers available with the requested generators\n(up to -www for the most detailed output, or -wwww for json output)")
177
185
cmd.Flags().CountVarP(&helpLevel, "detailed-help", "h", "print out more detailed help\n(up to -hhh for the most detailed output, or -hhhh for json output)")
0 commit comments