[monitoring-plugins] include -P switch in help

Christopher Odenbach git at monitoring-plugins.org
Tue Apr 9 10:20:15 CEST 2019


 Module: monitoring-plugins
 Branch: master
 Commit: a15d42559800624156a75f388f37e233aeab3688
 Author: Christopher Odenbach <odenbach at uni-paderborn.de>
   Date: Tue Apr  9 09:49:57 2019 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a15d425

include -P switch in help

---

 plugins/check_disk.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 1c43e85..844e625 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -935,6 +935,8 @@ print_help (void)
   printf ("    %s\n", _("Display only devices/mountpoints with errors"));
   printf (" %s\n", "-f, --freespace-ignore-reserved");
   printf ("    %s\n", _("Don't account root-reserved blocks into freespace in perfdata"));
+  printf (" %s\n", "-P, --iperfdata");
+  printf ("    %s\n", _("Display inode usage in perfdata"));
   printf (" %s\n", "-g, --group=NAME");
   printf ("    %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));
   printf (" %s\n", "-k, --kilobytes");



More information about the Commits mailing list