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

This commit is contained in:
abrist 2014-01-24 14:04:37 -05:00 committed by Jan Wagner
parent 3c7d24478c
commit 8e187dfefe
2 changed files with 5 additions and 1 deletions

4
NEWS
View file

@ -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

View file

@ -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;