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_disk.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_disk.c')
-rw-r--r-- | plugins/check_disk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 109420a..71a6807 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -21,7 +21,7 @@ | |||
21 | const char *progname = "check_disk"; | 21 | const char *progname = "check_disk"; |
22 | const char *program_name = "check_disk"; // Required for coreutils libs | 22 | const char *program_name = "check_disk"; // Required for coreutils libs |
23 | const char *revision = "$Revision$"; | 23 | const char *revision = "$Revision$"; |
24 | const char *copyright = "1999-2003"; | 24 | const char *copyright = "1999-2004"; |
25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 25 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
26 | 26 | ||
27 | #include "common.h" | 27 | #include "common.h" |
@@ -578,7 +578,7 @@ print_help (void) | |||
578 | 578 | ||
579 | printf (_("\ | 579 | printf (_("\ |
580 | This plugin checks the amount of used disk space on a mounted file system\n\ | 580 | This plugin checks the amount of used disk space on a mounted file system\n\ |
581 | and generates an alert if free space is less than one of the threshold values.")); | 581 | and generates an alert if free space is less than one of the threshold values.\n\n")); |
582 | 582 | ||
583 | print_usage (); | 583 | print_usage (); |
584 | 584 | ||
@@ -638,5 +638,5 @@ print_usage (void) | |||
638 | { | 638 | { |
639 | printf ("\ | 639 | printf ("\ |
640 | Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\ | 640 | Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\ |
641 | [-v] [-q]\n", progname); | 641 | [-v] [-q]\n", progname); |
642 | } | 642 | } |