[monitoring-plugins] check_disk: Clarify usage possibilites (#1745)

GitHub git at monitoring-plugins.org
Fri Jan 20 12:10:12 CET 2023


    Module: monitoring-plugins
    Branch: master
    Commit: 67b472f9d1d29b9de5312c46f13ca4f5a656c4da
    Author: Lorenz <12514511+RincewindsHat at users.noreply.github.com>
 Committer: GitHub <noreply at github.com>
      Date: Fri Jan 20 12:08:15 2023 +0100
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=67b472f

check_disk: Clarify usage possibilites  (#1745)

* Clarify usage possibilites of check_disk

* Remove superfluous newlines

Co-authored-by: waja <waja at users.noreply.github.com>

---

 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 7018c6f..6de17f8 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -951,7 +951,7 @@ void
 print_usage (void)
 {
   printf ("%s\n", _("Usage:"));
-  printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname);
+  printf (" %s {-w absolute_limit |-w  percentage_limit% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit% | -K inode_percentage_limit } {-p path | -x device}\n", progname);
   printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n");
   printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n");
 }



More information about the Commits mailing list