~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to unittests/option_context.cc

  • Committer: Paul McCullagh
  • Date: 2010-09-22 13:04:27 UTC
  • mto: (1787.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1788.
  • Revision ID: paul.mccullagh@primebase.org-20100922130427-utakdj4ec4uiv1kc
Fixed PBXT recovery and shutdown, added shutdownPlugin() call to all plugins before the plugins are deleted

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