mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-25 20:06:14 -04:00
Support check_ssh --hostname=ADDRESS' (but keep --host=ADDRESS' for backward
compatibility) (Ville Mattila - 1642780) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
934bf71b9d
commit
210f39bc84
2 changed files with 3 additions and 1 deletions
|
|
@ -208,3 +208,4 @@ Sebastian Schubert
|
|||
Jason Hoos
|
||||
Chris Grim
|
||||
Nobuhiro Ban
|
||||
Ville Mattila
|
||||
|
|
|
|||
|
|
@ -102,7 +102,8 @@ process_arguments (int argc, char **argv)
|
|||
static struct option longopts[] = {
|
||||
{"help", no_argument, 0, 'h'},
|
||||
{"version", no_argument, 0, 'V'},
|
||||
{"host", required_argument, 0, 'H'},
|
||||
{"host", required_argument, 0, 'H'}, /* backward compatibility */
|
||||
{"hostname", required_argument, 0, 'H'},
|
||||
{"port", required_argument, 0, 'p'},
|
||||
{"use-ipv4", no_argument, 0, '4'},
|
||||
{"use-ipv6", no_argument, 0, '6'},
|
||||
|
|
|
|||
Loading…
Reference in a new issue