code: func (p *Profiler) AddFlags(fs *flag.FlagSet) {
  	fs.StringVar(&p.BindHTTP, "profile-bind-http", "",
  		"If specified, run a runtime profiler HTTP server bound to this [address][:port].")
  	fs.StringVar(&p.Dir, "profile-output-dir", "",
  		"If specified, allow generation of profiling artifacts, which will be written here.")
  	fs.BoolVar(&p.ProfileCPU, "profile-cpu", false, "If specified, enables CPU profiling.")
  	fs.BoolVar(&p.ProfileHeap, "profile-heap", false, "If specified, enables heap profiling.")
  
  }
docs: // AddFlags adds command line flags to common Profiler fields.