~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/option_context.cc

  • Committer: Brian Aker
  • Date: 2010-09-15 20:24:31 UTC
  • mto: (1766.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1767.
  • Revision ID: brian@tangent.org-20100915202431-wbrrl4vg6rzjvdiu
Adding opt for optional schedulers and making them --plugin-add only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    "test", "--test.option=foo"
44
44
  };
45
45
 
46
 
  // Disable allow_guessing
47
 
  int style = po::command_line_style::default_style & ~po::command_line_style::allow_guessing;
48
 
 
49
 
  po::store(po::command_line_parser(2, (char **)options).style(style).
 
46
  po::store(po::command_line_parser(2, (char **)options).
50
47
            options(command_line_options).run(), vm);
51
48
  po::notify(vm);
52
49