summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2022-01-30 18:41:36 (GMT)
committerGitHub <noreply@github.com>2022-01-30 18:41:36 (GMT)
commitd485b64ef0c08eb04fd6152b61b167c5edadab02 (patch)
tree4a477ec12530c4179101e1d98672068c9e172e8b
parente781e0d1010b57da0e468cb7e9afb03860870218 (diff)
downloadmonitoring-plugins-d485b64.tar.gz
Description for -M was the wrong way around (#1746)
Using -M should show the mountpoint instead of the device the file system originated from. Seems like this was not the case for a long time and now the default is to show the mount point. Using `-M` reverts to showing the (block) device instead. The usage Description was adjusted with this commit.
-rw-r--r--plugins/check_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 9652f45..66c5dd3 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -961,7 +961,7 @@ print_help (void)
961 printf (" %s\n", _("Only check local filesystems against thresholds. Yet call stat on remote filesystems")); 961 printf (" %s\n", _("Only check local filesystems against thresholds. Yet call stat on remote filesystems"));
962 printf (" %s\n", _("to test if they are accessible (e.g. to detect Stale NFS Handles)")); 962 printf (" %s\n", _("to test if they are accessible (e.g. to detect Stale NFS Handles)"));
963 printf (" %s\n", "-M, --mountpoint"); 963 printf (" %s\n", "-M, --mountpoint");
964 printf (" %s\n", _("Display the mountpoint instead of the partition")); 964 printf (" %s\n", _("Display the (block) device instead of the mount point"));
965 printf (" %s\n", "-m, --megabytes"); 965 printf (" %s\n", "-m, --megabytes");
966 printf (" %s\n", _("Same as '--units MB'")); 966 printf (" %s\n", _("Same as '--units MB'"));
967 printf (" %s\n", "-A, --all"); 967 printf (" %s\n", "-A, --all");