code: func pflagRegister(global, local *pflag.FlagSet, globalName string) {
  	if f := global.Lookup(globalName); f != nil {
  		f.Name = normalize(f.Name)
  		local.AddFlag(f)
  	} else {
  		panic(fmt.Sprintf("failed to find flag in global flagset (pflag): %s", globalName))
  	}
  }
docs: // pflagRegister adds a flag to local that targets the Value associated with the Flag named globalName in global