summaryrefslogtreecommitdiffstats
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r--plugins/check_ups.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 8985b74..ce57ef3 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -611,10 +611,10 @@ print_help (void)
611 611
612 print_usage (); 612 print_usage ();
613 613
614 printf (_(UT_HELP_VRSN)); 614 printf (UT_HELP_VRSN);
615 printf (_(UT_EXTRA_OPTS)); 615 printf (UT_EXTRA_OPTS);
616 616
617 printf (_(UT_HOST_PORT), 'p', myport); 617 printf (UT_HOST_PORT, 'p', myport);
618 618
619 printf (" %s\n", "-u, --ups=STRING"); 619 printf (" %s\n", "-u, --ups=STRING");
620 printf (" %s\n", _("Name of UPS")); 620 printf (" %s\n", _("Name of UPS"));
@@ -623,13 +623,13 @@ print_help (void)
623 printf (" %s\n", "-v, --variable=STRING"); 623 printf (" %s\n", "-v, --variable=STRING");
624 printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT"); 624 printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT");
625 625
626 printf (_(UT_WARN_CRIT)); 626 printf (UT_WARN_CRIT);
627 627
628 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 628 printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
629 629
630/* TODO: -v clashing with -v/-variable. Commenting out help text since verbose 630/* TODO: -v clashing with -v/-variable. Commenting out help text since verbose
631 is unused up to now */ 631 is unused up to now */
632/* printf (_(UT_VERBOSE)); */ 632/* printf (UT_VERBOSE); */
633 633
634 printf ("\n"); 634 printf ("\n");
635 printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power")); 635 printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power"));
@@ -651,10 +651,10 @@ print_help (void)
651 printf (" %s\n", _("http://www.networkupstools.org")); 651 printf (" %s\n", _("http://www.networkupstools.org"));
652#ifdef NP_EXTRA_OPTS 652#ifdef NP_EXTRA_OPTS
653 printf ("\n"); 653 printf ("\n");
654 printf (_(UT_EXTRA_OPTS_NOTES)); 654 printf (UT_EXTRA_OPTS_NOTES);
655#endif 655#endif
656 656
657 printf (_(UT_SUPPORT)); 657 printf (UT_SUPPORT);
658} 658}
659 659
660 660