[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/group/tool main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	teigland 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

--- cluster/group/tool/main.c	2006/07/31 18:38:33	1.19
+++ cluster/group/tool/main.c	2006/08/14 19:38:20	1.20
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]