~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: lbieber
  • Date: 2010-09-26 21:17:42 UTC
  • mfrom: (1793.3.3 drizzle-bug-646202)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: lbieber@orisndriz08-20100926211742-yy2fu65qjcotmonp
Merge Andrew - fix bug 646202 - Turn off Boost PO option guessing

Show diffs side-by-side

added added

removed removed

Lines of Context:
1408
1408
  po::positional_options_description p;
1409
1409
  p.add("database", 1);
1410
1410
 
 
1411
  // Disable allow_guessing
 
1412
  int style = po::command_line_style::default_style & ~po::command_line_style::allow_guessing;
 
1413
 
1411
1414
  po::store(po::command_line_parser(argc, argv).options(long_options).
1412
 
            positional(p).extra_parser(parse_password_arg).run(), vm);
 
1415
            style(style).positional(p).extra_parser(parse_password_arg).run(),
 
1416
            vm);
1413
1417
 
1414
1418
  if (! vm["no-defaults"].as<bool>())
1415
1419
  {