~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

Changed my.cnf to drizzle.cnf and /etc/mysql to /etc/drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1067
1067
      close(stdout_fileno_copy);             /* Clean up dup(). */
1068
1068
  }
1069
1069
 
1070
 
  load_defaults("my",load_default_groups,&argc,&argv);
 
1070
  load_defaults("drizzle",load_default_groups,&argc,&argv);
1071
1071
  defaults_argv=argv;
1072
1072
  if (get_options(argc, (char **) argv))
1073
1073
  {
1353
1353
  {"password", 'p',
1354
1354
   N_("Password to use when connecting to server. If password is not given it's asked from the tty."),
1355
1355
   0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
1356
 
  {"port", 'P', N_("Port number to use for connection or 0 for default to, in order of preference, my.cnf, $DRIZZLE_TCP_PORT, ")
 
1356
  {"port", 'P', N_("Port number to use for connection or 0 for default to, in order of preference, drizzle.cnf, $DRIZZLE_TCP_PORT, ")
1357
1357
   N_("built-in default") " (" STRINGIFY_ARG(DRIZZLE_PORT) ").",
1358
1358
   (char**) &opt_drizzle_port,
1359
1359
   (char**) &opt_drizzle_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0,  0},
1442
1442
 
1443
1443
  if (version)
1444
1444
    return;
1445
 
  printf(_("\
1446
 
Copyright (C) 2000-2008 MySQL AB\n                                      \
1447
 
This software comes with ABSOLUTELY NO WARRANTY. This is free software,\n \
1448
 
and you are welcome to modify and redistribute it under the GPL license\n"));
 
1445
  printf(_("Copyright (C) 2008 Sun Microsystems\n"
 
1446
           "This software comes with ABSOLUTELY NO WARRANTY. "
 
1447
           "This is free software,\n"
 
1448
           "and you are welcome to modify and redistribute it "
 
1449
           "under the GPL license\n"));
1449
1450
  printf(_("Usage: %s [OPTIONS] [database]\n"), my_progname);
1450
1451
  my_print_help(my_long_options);
1451
 
  print_defaults("my", load_default_groups);
 
1452
  print_defaults("drizzle", load_default_groups);
1452
1453
  my_print_variables(my_long_options);
1453
1454
}
1454
1455