mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-20 00:10:09 -05:00
Added check_hpjd port option to news and clarified the port usage error.
This commit is contained in:
parent
3c7d24478c
commit
8e187dfefe
2 changed files with 5 additions and 1 deletions
4
NEWS
4
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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue