diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 23:02:04 (GMT) |
commit | 5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch) | |
tree | c6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_snmp.c | |
parent | c6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff) | |
download | monitoring-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_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index fa4f56c..18b7f2f 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -842,7 +842,7 @@ print_help (void) | |||
842 | { | 842 | { |
843 | print_revision (progname, revision); | 843 | print_revision (progname, revision); |
844 | 844 | ||
845 | printf (_(COPYRIGHT), copyright, email); | 845 | printf (COPYRIGHT, copyright, email); |
846 | 846 | ||
847 | printf (_("\ | 847 | printf (_("\ |
848 | Check status of remote machines and obtain sustem information via SNMP\n\n")); | 848 | Check status of remote machines and obtain sustem information via SNMP\n\n")); |
@@ -950,9 +950,9 @@ print_usage (void) | |||
950 | { | 950 | { |
951 | printf ("\ | 951 | printf ("\ |
952 | Usage: %s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range] \n\ | 952 | Usage: %s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range] \n\ |
953 | [-C community] [-s string] [-r regex] [-R regexi] [-t timeout]\n\ | 953 | [-C community] [-s string] [-r regex] [-R regexi] [-t timeout]\n\ |
954 | [-l label] [-u units] [-p port-number] [-d delimiter]\n\ | 954 | [-l label] [-u units] [-p port-number] [-d delimiter]\n\ |
955 | [-D output-delimiter] [-m miblist] [-P snmp version]\n\ | 955 | [-D output-delimiter] [-m miblist] [-P snmp version]\n\ |
956 | [-L seclevel] [-U secname] [-a authproto] [-A authpasswd]\n\ | 956 | [-L seclevel] [-U secname] [-a authproto] [-A authpasswd]\n\ |
957 | [-X privpasswd]\n", progname); | 957 | [-X privpasswd]\n", progname); |
958 | } | 958 | } |