From mboxrd@z Thu Jan 1 00:00:00 1970 From: teigland@sourceware.org Date: 14 Aug 2006 19:38:20 -0000 Subject: [Cluster-devel] cluster/group/tool main.c Message-ID: <20060814193820.17594.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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 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 Show posix locks for gfs with given name\n"); + printf("\n"); } static void decode_arguments(int argc, char **argv)