code: func AddGlobalFlags(fs *pflag.FlagSet, name string) {
  	addKlogFlags(fs)
  	logs.AddFlags(fs)
  
  	fs.BoolP("help", "h", false, fmt.Sprintf("help for %s", name))
  }
docs: // AddGlobalFlags explicitly registers flags that libraries (klog, verflag, etc.) register
  // against the global flagsets from "flag" and "k8s.io/klog".
  // We do this in order to prevent unwanted flags from leaking into the component's flagset.