925
927
po::options_description client_options("Options specific to the client");
926
928
client_options.add_options()
927
("mysql,m", po::value<bool>(&opt_mysql)->default_value(true)->zero_tokens(),
929
929
("host,h",po::value<string>(&host)->default_value("localhost"),"Connect to the host")
930
930
("password,P",po::value<char *>(&password),
931
931
"Password to use when connecting to server. If password is not given it's asked from the tty")
932
932
("port,p",po::value<uint32_t>(), "Port number to use for connection")
934
"The protocol of connection (tcp,socket,pipe,memory).")
935
935
("user,u",po::value<string>(&user)->default_value(""),
936
936
"User for login if not current user")