code: func newConfigParser(cfg *config, so *serviceOptions, options flags.Options) *flags.Parser {
  	parser := flags.NewParser(cfg, options)
  	if runtime.GOOS == "windows" {
  		parser.AddGroup("Service Options", "Service Options", so)
  	}
  	return parser
  }
docs: // newConfigParser returns a new command line flags parser.