~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
  connected= false, opt_raw_data= false, unbuffered= false,
288
288
  output_tables= false, opt_rehash= true, skip_updates= false,
289
289
  safe_updates= false, one_database= false,
290
 
  opt_compress= false, opt_shutdown= false, opt_ping= false,
 
290
  opt_shutdown= false, opt_ping= false,
291
291
  vertical= false, line_numbers= true, column_names= true,
292
292
  opt_nopager= true, opt_outfile= false, named_cmds= false,
293
293
  opt_nobeep= false, opt_reconnect= true,
1287
1287
  N_("Display column type information."))
1288
1288
  ("comments,c", po::value<bool>(&preserve_comments)->default_value(false)->zero_tokens(),
1289
1289
  N_("Preserve comments. Send comments to the server. The default is --skip-comments (discard comments), enable with --comments"))
1290
 
  ("compress,C", po::value<bool>(&opt_compress)->default_value(false)->zero_tokens(),
1291
 
  N_("Use compression in server/client protocol."))  
1292
1290
  ("vertical,E", po::value<bool>(&vertical)->default_value(false)->zero_tokens(),
1293
1291
  N_("Print the output of a query (rows) vertically."))
1294
1292
  ("force,f", po::value<bool>(&ignore_errors)->default_value(false)->zero_tokens(),
1326
1324
 
1327
1325
  po::options_description drizzle_options(N_("Options specific to the drizzle client"));
1328
1326
  drizzle_options.add_options()
1329
 
  ("disable-auto-rehash",
 
1327
  ("disable-auto-rehash,A",
1330
1328
  N_("Disable automatic rehashing. One doesn't need to use 'rehash' to get table and field completion, but startup and reconnecting may take a longer time."))
1331
1329
  ("auto-vertical-output", po::value<bool>(&auto_vertical_output)->default_value(false)->zero_tokens(),
1332
1330
  N_("Automatically switch to vertical output mode if the result is wider than the terminal width."))