summaryrefslogtreecommitdiffstats
path: root/plugins/check_cluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r--plugins/check_cluster.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 04919e0..0138588 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -6,9 +6,6 @@
6* Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org) 6* Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)
7* Copyright (c) 2007 Nagios Plugins Development Team 7* Copyright (c) 2007 Nagios Plugins Development Team
8* 8*
9* Last Modified: $Date$
10*
11*
12* This program is free software: you can redistribute it and/or modify 9* This program is free software: you can redistribute it and/or modify
13* it under the terms of the GNU General Public License as published by 10* it under the terms of the GNU General Public License as published by
14* the Free Software Foundation, either version 3 of the License, or 11* the Free Software Foundation, either version 3 of the License, or
@@ -22,12 +19,10 @@
22* You should have received a copy of the GNU General Public License 19* You should have received a copy of the GNU General Public License
23* along with this program. If not, see <http://www.gnu.org/licenses/>. 20* along with this program. If not, see <http://www.gnu.org/licenses/>.
24* 21*
25* $Id$
26* 22*
27*****************************************************************************/ 23*****************************************************************************/
28 24
29const char *progname = "check_cluster"; 25const char *progname = "check_cluster";
30const char *revision = "$Revision$";
31const char *copyright = "2000-2007"; 26const char *copyright = "2000-2007";
32const char *email = "nagiosplug-devel@lists.sourceforge.net"; 27const char *email = "nagiosplug-devel@lists.sourceforge.net";
33 28
@@ -204,7 +199,7 @@ int process_arguments(int argc, char **argv){
204 break; 199 break;
205 200
206 case 'V': /* version */ 201 case 'V': /* version */
207 print_revision (progname, revision); 202 print_revision (progname, NP_VERSION);
208 exit (STATE_OK); 203 exit (STATE_OK);
209 break; 204 break;
210 205
@@ -228,7 +223,7 @@ int process_arguments(int argc, char **argv){
228void 223void
229print_help(void) 224print_help(void)
230{ 225{
231 print_revision(progname, revision); 226 print_revision(progname, NP_VERSION);
232 printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n"); 227 printf ("Copyright (c) 2000-2004 Ethan Galstad (nagios@nagios.org)\n");
233 printf(COPYRIGHT, copyright, email); 228 printf(COPYRIGHT, copyright, email);
234 229