提交 abe31e80 编写于 作者: W wangzelin.wzl

Fix the errors 'observer -h' and 'observer -V'

上级 b9061285
...@@ -59,7 +59,7 @@ static void print_help() ...@@ -59,7 +59,7 @@ static void print_help()
{ {
MPRINT("observer [OPTIONS]"); MPRINT("observer [OPTIONS]");
MPRINT(" -h,--help print this help"); MPRINT(" -h,--help print this help");
MPRINT(" -v,--version print the information of version"); MPRINT(" -V,--version print the information of version");
MPRINT(" -z,--zone ZONE zone"); MPRINT(" -z,--zone ZONE zone");
MPRINT(" -p,--mysql_port PORT mysql port"); MPRINT(" -p,--mysql_port PORT mysql port");
MPRINT(" -P,--rpc_port PORT rpc port"); MPRINT(" -P,--rpc_port PORT rpc port");
...@@ -158,7 +158,7 @@ static void get_opts_setting(struct option long_opts[], char short_opts[], const ...@@ -158,7 +158,7 @@ static void get_opts_setting(struct option long_opts[], char short_opts[], const
{"rs_list", 'r', 1}, {"rs_list", 'r', 1},
{"mode", 'm', 1}, {"mode", 'm', 1},
{"scn", 'f', 1}, {"scn", 'f', 1},
{"version", 'v', 0}, {"version", 'V', 0},
{"ipv6", '6', 0}, {"ipv6", '6', 0},
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册