aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Lorenz <12514511+RincewindsHat@users.noreply.github.com> 2022-01-30 19:41:36 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-30 19:41:36 +0100
commitd485b64ef0c08eb04fd6152b61b167c5edadab02 (patch)
tree4a477ec12530c4179101e1d98672068c9e172e8b /plugins
parente781e0d1010b57da0e468cb7e9afb03860870218 (diff)
downloadmonitoring-plugins-d485b64ef0c08eb04fd6152b61b167c5edadab02.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.
Diffstat (limited to 'plugins')
-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 9652f453..66c5dd39 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -961,7 +961,7 @@ print_help (void)
printf (" %s\n", _("Only check local filesystems against thresholds. Yet call stat on remote filesystems"));
printf (" %s\n", _("to test if they are accessible (e.g. to detect Stale NFS Handles)"));
printf (" %s\n", "-M, --mountpoint");
- printf (" %s\n", _("Display the mountpoint instead of the partition"));
+ printf (" %s\n", _("Display the (block) device instead of the mount point"));
printf (" %s\n", "-m, --megabytes");
printf (" %s\n", _("Same as '--units MB'"));
printf (" %s\n", "-A, --all");