diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-05-09 09:09:02 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-05-09 09:09:02 +0000 |
commit | d56c198601d87a9b43f50a8d210321b497255905 (patch) | |
tree | 2d6f9910a0af29522baec9335927490f863ac618 | |
parent | c3c75a0980824f71351ee1efee9634551b0f0bc1 (diff) | |
download | monitoring-plugins-d56c198601d87a9b43f50a8d210321b497255905.tar.gz |
Fixed --help output (Ask Bjoern Hansen - #1714823)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1708 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_ups.c | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -218,3 +218,4 @@ Felix Frank | |||
218 | Denis Knauf | 218 | Denis Knauf |
219 | Matthias Flacke | 219 | Matthias Flacke |
220 | Emil Michles | 220 | Emil Michles |
221 | Ask Bjoern Hansen | ||
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 56438bb2..77897e83 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -618,12 +618,16 @@ print_help (void) | |||
618 | printf (" %s\n", _("Name of UPS")); | 618 | printf (" %s\n", _("Name of UPS")); |
619 | printf (" %s\n", "-T, --temperature"); | 619 | printf (" %s\n", "-T, --temperature"); |
620 | printf (" %s\n", _("Output of temperatures in Celsius")); | 620 | printf (" %s\n", _("Output of temperatures in Celsius")); |
621 | printf (" %s\n", "-v, --variable=STRING"); | ||
622 | printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT,"); | ||
621 | 623 | ||
622 | printf (_(UT_WARN_CRIT)); | 624 | printf (_(UT_WARN_CRIT)); |
623 | 625 | ||
624 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 626 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); |
625 | 627 | ||
626 | printf (_(UT_VERBOSE)); | 628 | /* TODO: -v clashing with -v/-variable. Commenting out help text since verbose |
629 | is unused up to now */ | ||
630 | /* printf (_(UT_VERBOSE)); */ | ||
627 | 631 | ||
628 | printf ("\n"); | 632 | printf ("\n"); |
629 | printf ("%s\n", _("Notes:")); | 633 | printf ("%s\n", _("Notes:")); |