[Nagiosplug-checkins] CVS: nagiosplug/plugins check_swap.c,1.25,1.26

Ton Voon tonvoon at users.sourceforge.net
Thu Feb 19 17:16:42 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13519

Modified Files:
	check_swap.c 
Log Message:
Corrected usage message (Matt Pounsett)


Index: check_swap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_swap.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** check_swap.c	24 Dec 2003 08:51:08 -0000	1.25
--- check_swap.c	20 Feb 2004 01:05:02 -0000	1.26
***************
*** 329,333 ****
  			print_help ();
  			exit (STATE_OK);
! 		case '?':									/* help */
  			usage (_("Invalid argument\n"));
  		}
--- 329,333 ----
  			print_help ();
  			exit (STATE_OK);
! 		case '?':									/* error */
  			usage (_("Invalid argument\n"));
  		}
***************
*** 408,412 ****
     Exit with CRITCAL status if less than PERCENT of swap space is free\n\
   -a, --allswaps\n\
!     Conduct comparisons for all swap partitions, one by one\n"));
  
  	printf (_("\n\
--- 408,414 ----
     Exit with CRITCAL status if less than PERCENT of swap space is free\n\
   -a, --allswaps\n\
!     Conduct comparisons for all swap partitions, one by one\n\
!  -v, --verbose\n\
!     Verbose output. Up to 3 levels\n"));
  
  	printf (_("\n\
***************
*** 427,432 ****
  {
  	printf (_("Usage:\n\
!  %s [-a] -w <used_percentage>%% -c <used_percentage>%%\n\
!  %s [-a] -w <bytes_free> -c <bytes_free>\n\
   %s (-h | --help) for detailed help\n\
   %s (-V | --version) for version information\n"),
--- 429,434 ----
  {
  	printf (_("Usage:\n\
!  %s [-av] -w <percent_free>%% -c <percent_free>%%\n\
!  %s [-av] -w <bytes_free> -c <bytes_free>\n\
   %s (-h | --help) for detailed help\n\
   %s (-V | --version) for version information\n"),





More information about the Commits mailing list