~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: lbieber
  • Date: 2010-09-26 21:48:00 UTC
  • mfrom: (1795.1.1 build)
  • Revision ID: lbieber@orisndriz08-20100926214800-ti8b24wb7pwv21eg
Merge Andrew - fix bug 646202 - Turn off Boost PO option guessing

Show diffs side-by-side

added added

removed removed

Lines of Context:
610
610
 
611
611
  po::variables_map vm;
612
612
 
613
 
  po::store(po::command_line_parser(argc, argv).options(all_options).
614
 
            positional(p).extra_parser(parse_password_arg).run(), vm);
 
613
  // Disable allow_guessing
 
614
  int style = po::command_line_style::default_style & ~po::command_line_style::allow_guessing;
 
615
 
 
616
  po::store(po::command_line_parser(argc, argv).style(style).
 
617
            options(all_options).positional(p).
 
618
            extra_parser(parse_password_arg).run(), vm);
615
619
 
616
620
  if (! vm.count("no-defaults"))
617
621
  {