Просмотр исходного кода

cmap: tweek the usage text

1) It wasn't obvious to me what -b did
2) -a has been removed

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld 14 лет назад
Родитель
Сommit
aedaa07823
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      tools/corosync-cmapctl.c

+ 4 - 1
tools/corosync-cmapctl.c

@@ -95,7 +95,10 @@ static int convert_name_to_type(const char *name)
 static int print_help(void)
 {
 	printf("\n");
-	printf("usage:  corosync-cmapctl [-b] [-adghsTtp] [params...]\n");
+	printf("usage:  corosync-cmapctl [-b] [-dghsTtp] [params...]\n");
+	printf("\n");
+	printf("    -b show binary values\n");
+	printf("\n");
 	printf("Set key:\n");
 	printf("    corosync-cmapctl -s key_name type value\n");
 	printf("\n");