summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_dig.c
parentc6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff)
downloadmonitoring-plugins-5e3fc41c6143676cf01b7aad789fc5f2cae5ce84.tar.gz
print_help and print_usage() cleanup
other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 5bed80d..8f88316 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -20,7 +20,7 @@
20 20
21const char *progname = "check_dig"; 21const char *progname = "check_dig";
22const char *revision = "$Revision$"; 22const char *revision = "$Revision$";
23const char *copyright = "2002-2003"; 23const char *copyright = "2002-2004";
24const char *email = "nagiosplug-devel@lists.sourceforge.net"; 24const char *email = "nagiosplug-devel@lists.sourceforge.net";
25 25
26#include "common.h" 26#include "common.h"
@@ -221,7 +221,7 @@ process_arguments (int argc, char **argv)
221 print_help (); 221 print_help ();
222 exit (STATE_OK); 222 exit (STATE_OK);
223 case 'V': /* version */ 223 case 'V': /* version */
224 print_revision (progname, "$Revision$"); 224 print_revision (progname, revision);
225 exit (STATE_OK); 225 exit (STATE_OK);
226 case 'H': /* hostname */ 226 case 'H': /* hostname */
227 if (is_host (optarg)) { 227 if (is_host (optarg)) {
@@ -318,7 +318,7 @@ print_help (void)
318 printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"); 318 printf ("Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n");
319 printf (COPYRIGHT, copyright, email); 319 printf (COPYRIGHT, copyright, email);
320 320
321 printf (_("Test the DNS service on the specified host using dig\n")); 321 printf (_("Test the DNS service on the specified host using dig\n\n"));
322 322
323 print_usage (); 323 print_usage ();
324 324