summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_disk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 98a061fb..5c0eec59 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -661,19 +661,19 @@ process_arguments (int argc, char **argv)
661 break; 661 break;
662 case 'E': 662 case 'E':
663 if (path_selected) 663 if (path_selected)
664 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting pathes\n")); 664 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting paths\n"));
665 exact_match = TRUE; 665 exact_match = TRUE;
666 break; 666 break;
667 case 'g': 667 case 'g':
668 if (path_selected) 668 if (path_selected)
669 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting pathes \n")); 669 die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting paths\n"));
670 group = optarg; 670 group = optarg;
671 break; 671 break;
672 case 'I': 672 case 'I':
673 cflags |= REG_ICASE; 673 cflags |= REG_ICASE;
674 case 'i': 674 case 'i':
675 if (!path_selected) 675 if (!path_selected)
676 die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Pathes need to be selected before using -i/-I. Use -A to select all pathes explicitly")); 676 die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Paths need to be selected before using -i/-I. Use -A to select all paths explicitly"));
677 err = regcomp(&re, optarg, cflags); 677 err = regcomp(&re, optarg, cflags);
678 if (err != 0) { 678 if (err != 0) {
679 regerror (err, &re, errbuf, MAX_INPUT_BUFFER); 679 regerror (err, &re, errbuf, MAX_INPUT_BUFFER);
@@ -930,7 +930,7 @@ print_help (void)
930 printf (" %s\n", "-e, --errors-only"); 930 printf (" %s\n", "-e, --errors-only");
931 printf (" %s\n", _("Display only devices/mountpoints with errors")); 931 printf (" %s\n", _("Display only devices/mountpoints with errors"));
932 printf (" %s\n", "-g, --group=NAME"); 932 printf (" %s\n", "-g, --group=NAME");
933 printf (" %s\n", _("Group pathes. Thresholds apply to (free-)space of all partitions together")); 933 printf (" %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));
934 printf (" %s\n", "-k, --kilobytes"); 934 printf (" %s\n", "-k, --kilobytes");
935 printf (" %s\n", _("Same as '--units kB'")); 935 printf (" %s\n", _("Same as '--units kB'"));
936 printf (" %s\n", "-l, --local"); 936 printf (" %s\n", "-l, --local");
@@ -943,7 +943,7 @@ print_help (void)
943 printf (" %s\n", "-m, --megabytes"); 943 printf (" %s\n", "-m, --megabytes");
944 printf (" %s\n", _("Same as '--units MB'")); 944 printf (" %s\n", _("Same as '--units MB'"));
945 printf (" %s\n", "-A, --all"); 945 printf (" %s\n", "-A, --all");
946 printf (" %s\n", _("Explicitly select all pathes. This is equivalent to -R '.*'")); 946 printf (" %s\n", _("Explicitly select all paths. This is equivalent to -R '.*'"));
947 printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION"); 947 printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION");
948 printf (" %s\n", _("Case insensitive regular expression for path/partition (may be repeated)")); 948 printf (" %s\n", _("Case insensitive regular expression for path/partition (may be repeated)"));
949 printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION"); 949 printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION");