code: func registerDeprecated(global *flag.FlagSet, local *pflag.FlagSet, globalName, deprecated string) {
  	register(global, local, globalName)
  	local.Lookup(normalize(globalName)).Deprecated = deprecated
  }
docs: // registerDeprecated registers the flag with register, and then marks it deprecated