~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-26 08:33:47 UTC
  • mto: (1795.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: andrew@linuxjedi.co.uk-20100926083347-fzsc9e7w0j4u7bj1
Disable boost:po allow_guessing which was making some wrong assumptions

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
  {