~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Lee Bieber
  • Date: 2011-04-13 21:07:45 UTC
  • mfrom: (2252.1.29 program-options)
  • mto: This revision was merged to the branch mainline in revision 2277.
  • Revision ID: kalebral@gmail.com-20110413210745-2e3tukhwa72zggcz
Merge Olaf - Refactor Program Options usage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1612
1612
 
1613
1613
  /* Inverted Booleans */
1614
1614
 
1615
 
  line_numbers= (vm.count("disable-line-numbers")) ? false : true;
1616
 
  column_names= (vm.count("disable-column-names")) ? false : true;
1617
 
  opt_rehash= (vm.count("disable-auto-rehash")) ? false : true;
1618
 
  opt_reconnect= (vm.count("disable-reconnect")) ? false : true;
 
1615
  line_numbers= not vm.count("disable-line-numbers");
 
1616
  column_names= not vm.count("disable-column-names");
 
1617
  opt_rehash= not vm.count("disable-auto-rehash");
 
1618
  opt_reconnect= not vm.count("disable-reconnect");
1619
1619
 
1620
1620
  /* Don't rehash with --shutdown */
1621
1621
  if (vm.count("shutdown"))