Skip to contentSkip to conversation

cluster/group/tool main.c

Cluster-devel [email protected] 1 participant 1 message Aug 14, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-08-14 20:38:20

Modified files:
group/tool : main.c

Log message:
show all options in help output

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/tool/main.c.diff?cvsroot=cluster&r1=1.19&r2=1.20

group/tool/main.c +12 -2
@@ -55,13 +55,23 @@
 {
 	printf("Usage:\n");
 	printf("\n");
-	printf("%s [options]\n", prog_name);
+	printf("%s [options] [ls|dump]\n", prog_name);
 	printf("\n");
 	printf("Options:\n");
-	printf("\n");
 	printf("  -v               Verbose output, extra event information\n");
 	printf("  -h               Print this help, then exit\n");
 	printf("  -V               Print program version information, then exit\n");
+	printf("\n");
+	printf("Display group information from groupd\n");
+	printf("ls                 Show information for all groups\n");
+	printf("ls <level> <name>  Show information one group\n");
+	printf("\n");
+	printf("Display debugging information\n");
+	printf("dump               Show debug log from groupd\n");
+	printf("dump fence         Show debug log from fenced\n");
+	printf("dump gfs           Show debug log from gfs_controld\n");
+	printf("dump plocks <name> Show posix locks for gfs with given name\n");
+	printf("\n");
 }
 
 static void decode_arguments(int argc, char **argv)