[monitoring-plugins] check_disk: precise the help output

Git Repository git at monitoring-plugins.org
Tue Jan 28 12:20:07 CET 2014


 Module: monitoring-plugins
 Branch: master
 Commit: cb99931e43a1da8c6cb3ff80e2561d4d5d34764f
 Author: Jan Wagner <waja at cyconet.org>
   Date: Mon Sep 30 21:10:52 2013 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=cb99931

check_disk: precise the help output

Clarifying in the help output that we need either a device or mount point
listed by the mount(8) command.

(Closes: #1118)
(Closes: #1170)

---

 plugins/check_disk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 8b85b4f..c12b5d9 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -877,7 +877,7 @@ print_help (void)
   printf (" %s\n", "-K, --icritical=PERCENT%");
   printf ("    %s\n", _("Exit with CRITICAL status if less than PERCENT of inode space is free"));
   printf (" %s\n", "-p, --path=PATH, --partition=PARTITION");
-  printf ("    %s\n", _("Path or partition (may be repeated)"));
+  printf ("    %s\n", _("Mount point or block device as emitted by the mount(8) command (may be repeated)"));
   printf (" %s\n", "-x, --exclude_device=PATH <STRING>");
   printf ("    %s\n", _("Ignore device (only works if -p unspecified)"));
   printf (" %s\n", "-C, --clear");



More information about the Commits mailing list