Преглед на файлове

Added check_hpjd port option to news and clarified the port usage error.

abrist преди 12 години
родител
ревизия
8e187dfefe
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 4 0
      NEWS
  2. 1 1
      plugins/check_hpjd.c

+ 4 - 0
NEWS

@@ -1,5 +1,9 @@
 This file documents the major additions and syntax changes between releases.
 
+2.1
+	ENHANCEMENTS
+	New check_hpjd -p option for port specification (abrist)
+
 2.0 11th July 2014
 	ENHANCEMENTS
 	check_mailq now supports auto detection of qmail, postfix, exim and nullmailer with

+ 1 - 1
plugins/check_hpjd.c

@@ -344,7 +344,7 @@ process_arguments (int argc, char **argv)
 			break;
 		case 'p':
 			if (!is_intpos(optarg))
-				usage2 (_("Port must be a positive integer"), optarg);
+				usage2 (_("Port must be a positive short integer"), optarg);
 			else
 				port = atoi(optarg);
 			break;