refine --help result (#151)

* add a OB_FAIL for ret check

* refine --help result
This commit is contained in:
Zlatan 2021-07-13 21:57:19 +08:00 committed by GitHub
parent 9c55a2becf
commit 42a6e1268b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ static void print_help()
{
MPRINT("observer [OPTIONS]");
MPRINT(" -h,--help print this help");
MPRINT(" -v,--version print the information of version");
MPRINT(" -z,--zone ZONE zone");
MPRINT(" -p,--mysql_port PORT mysql port");
MPRINT(" -P,--rpc_port PORT rpc port");