From 42a6e1268bf537caf1c7494a2c1456392c3ed823 Mon Sep 17 00:00:00 2001 From: Zlatan <578072836@qq.com> Date: Tue, 13 Jul 2021 21:57:19 +0800 Subject: [PATCH] refine --help result (#151) * add a OB_FAIL for ret check * refine --help result --- src/observer/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/observer/main.cpp b/src/observer/main.cpp index c7297e9286..51456c39f3 100644 --- a/src/observer/main.cpp +++ b/src/observer/main.cpp @@ -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"); -- GitLab