summaryrefslogtreecommitdiffstats
path: root/plugins/negate.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 20:28:53 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 20:28:53 (GMT)
commitedf60f6dceba48555f2534d9a217a8c5913ce029 (patch)
treee49b58832bc1d9252c3a8eeeadd65b4a85efc140 /plugins/negate.c
parent5d420d68fa25dd1b48d1b3f1a067fb45d98e67c2 (diff)
downloadmonitoring-plugins-edf60f6dceba48555f2534d9a217a8c5913ce029.tar.gz
remove UT_HLP_VRS from print_usage
this was not a good idea ;-) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@994 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/negate.c')
-rw-r--r--plugins/negate.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/negate.c b/plugins/negate.c
index e03f7e6..74a9a9d 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -239,11 +239,10 @@ print_help (void)
239{ 239{
240 print_revision (progname, revision); 240 print_revision (progname, revision);
241 241
242 printf (_(COPYRIGHT), copyright, email); 242 printf (COPYRIGHT, copyright, email);
243 243
244 printf (_("\ 244 printf (_("\
245Negates the status of a plugin (returns OK for CRITICAL, and vice-versa).\n\ 245Negates the status of a plugin (returns OK for CRITICAL, and vice-versa).\n\n"));
246\n"));
247 246
248 print_usage (); 247 print_usage ();
249 248
@@ -274,8 +273,5 @@ Otherwise, the output state of the wrapped plugin is unchanged.\n"));
274void 273void
275print_usage (void) 274print_usage (void)
276{ 275{
277 printf ("Usage: %s [-t timeout] <definition of wrapped plugin>\n", 276 printf ("Usage: %s [-t timeout] <definition of wrapped plugin>\n",progname);
278 progname);
279
280 printf (UT_HLP_VRS, progname, progname);
281} 277}