diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2022-01-30 19:41:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 19:41:36 +0100 |
commit | d485b64ef0c08eb04fd6152b61b167c5edadab02 (patch) | |
tree | 4a477ec12530c4179101e1d98672068c9e172e8b /plugins/check_disk.c | |
parent | e781e0d1010b57da0e468cb7e9afb03860870218 (diff) | |
download | monitoring-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/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 2 |
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) | |||
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"); |