فهرست منبع

cmapctl: mention the Clear stats option in usage message

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Christine Caulfield 8 سال پیش
والد
کامیت
2c87ae5b2b
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      tools/corosync-cmapctl.c

+ 5 - 1
tools/corosync-cmapctl.c

@@ -96,7 +96,7 @@ static int convert_name_to_type(const char *name)
 static int print_help(void)
 static int print_help(void)
 {
 {
 	printf("\n");
 	printf("\n");
-	printf("usage:  corosync-cmapctl [-b] [-DdghsTt] [-p filename] [-m map] [params...]\n");
+	printf("usage:  corosync-cmapctl [-b] [-DdghsTCt] [-p filename] [-m map] [params...]\n");
 	printf("\n");
 	printf("\n");
 	printf("    -b show binary values\n");
 	printf("    -b show binary values\n");
 	printf("\n");
 	printf("\n");
@@ -113,6 +113,10 @@ static int print_help(void)
 	printf("    configuration information, or 'stats' which contains statistics\n");
 	printf("    configuration information, or 'stats' which contains statistics\n");
 	printf("    about the networking and IPC traffic in some detail.\n");
 	printf("    about the networking and IPC traffic in some detail.\n");
 	printf("\n");
 	printf("\n");
+	printf("Clear stats:\n");
+	printf("    corosync-cmapctl -C [knet|ipc|totem|all]\n");
+	printf("    The 'stats' map is implied\n");
+	printf("\n");
 	printf("Load settings from a file:\n");
 	printf("Load settings from a file:\n");
 	printf("    corosync-cmapctl -p filename\n");
 	printf("    corosync-cmapctl -p filename\n");
 	printf("\n");
 	printf("\n");