cluster/ccs/ccs_tool ccs_tool.c update.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2007-05-03 09:06:40
Modified files:
ccs/ccs_tool : ccs_tool.c update.c
Log message:
Readd ipv6 support to ccs_tool update and add verbose option
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/ccs_tool.c.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/update.c.diff?cvsroot=cluster&r1=1.10&r2=1.11
ccs/ccs_tool/ccs_tool.c +7 -0
@@ -10,6 +10,8 @@static void print_usage (FILE *stream); +int globalverbose=0 ; +int main (int argc,char *argv[]) { optind =1 ;
@@ -26,6 +28,10 @@ }if (optind < argc){ +if (!strcmp (argv[optind],"-verbose" )){ + optind++; + globalverbose=1 ; + }if (!strcmp (argv[optind],"help" )){print_usage (stdout);exit (EXIT_SUCCESS );
@@ -106,6 +112,7 @@" ccs_tool [options] <command>\n" "\n" "Options:\n" +" -verbose Make some operations print more details.\n" " -h Print this usage and exit.\n" " -V Print version information and exit.\n" "\n"
ccs/ccs_tool/update.c +40 -4
64 lines not on this page · raw message