Optional arguments:
-c [ --conf ] arg path to cluster configuration
--cluster arg cluster name
- -i [ --id ] arg client id (without 'client.' prefix)
+ --id arg client id (without 'client.' prefix)
+ --user arg client id (without 'client.' prefix)
-n [ --name ] arg client name
-m [ --mon_host ] arg monitor host
--secret arg path to secret key (deprecated)
opts->add_options()
("conf,c", po::value<std::string>(), "path to cluster configuration")
("cluster", po::value<std::string>(), "cluster name")
- ("id,i", po::value<std::string>(), "client id (without 'client.' prefix)")
+ ("id", po::value<std::string>(), "client id (without 'client.' prefix)")
+ ("user", po::value<std::string>(), "client id (without 'client.' prefix)")
("name,n", po::value<std::string>(), "client name")
("mon_host,m", po::value<std::string>(), "monitor host")
("secret", po::value<Secret>(), "path to secret key (deprecated)")