summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 16:56:27 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 16:56:27 +0000
commit2ad398d2e04717ce3a6a8fb869e855c42581a30a (patch)
treea9230435f6a718f6b52e0c909846557bf19ce6b5 /plugins/check_ping.c
parentfa002886e390f5cc603021e422be3c319a1040ea (diff)
downloadmonitoring-plugins-2ad398d2e04717ce3a6a8fb869e855c42581a30a.tar.gz
fixes for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@990 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 132453d2..c04fb027 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -485,17 +485,6 @@ error_scan (char buf[MAX_INPUT_BUFFER], const char *addr)
485 485
486 486
487void 487void
488print_usage (void)
489{
490 printf (\
491"Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
492 [-p packets] [-t timeout] [-L] [-4|-6]\n", progname);
493 printf (_(UT_HLP_VRS), progname, progname);
494}
495
496
497
498void
499print_help (void) 488print_help (void)
500{ 489{
501 print_revision (progname, revision); 490 print_revision (progname, revision);
@@ -539,3 +528,12 @@ the contrib area of the downloads section at http://www.nagios.org\n\n"));
539 528
540 printf (_(UT_SUPPORT)); 529 printf (_(UT_SUPPORT));
541} 530}
531
532void
533print_usage (void)
534{
535 printf ("Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
536 [-p packets] [-t timeout] [-L] [-4|-6]\n", progname);
537
538 printf (UT_HLP_VRS, progname, progname);
539}