~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/option_context.cc

  • Committer: Joseph Daly
  • Date: 2010-09-28 01:43:36 UTC
  • mfrom: (1799 staging)
  • mto: (1799.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1800.
  • Revision ID: jdaly@rx7-20100928014336-wxjexq5c8js3cs8v
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    "test", "--test.option=foo"
44
44
  };
45
45
 
46
 
  po::store(po::command_line_parser(2, (char **)options).
 
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).
47
50
            options(command_line_options).run(), vm);
48
51
  po::notify(vm);
49
52