mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
check_by_ssh: added --hostname support
just like the guidelines and the help already suggests. Signed-off-by: Sven Nierlein <sven@nierlein.de>
This commit is contained in:
parent
a5b6d94fc6
commit
57fb03cea5
1 changed files with 2 additions and 1 deletions
|
|
@ -169,7 +169,8 @@ process_arguments (int argc, char **argv)
|
|||
{"verbose", no_argument, 0, 'v'},
|
||||
{"fork", no_argument, 0, 'f'},
|
||||
{"timeout", required_argument, 0, 't'},
|
||||
{"host", required_argument, 0, 'H'},
|
||||
{"host", required_argument, 0, 'H'}, /* backward compatibility */
|
||||
{"hostname", required_argument, 0, 'H'},
|
||||
{"port", required_argument,0,'p'},
|
||||
{"output", required_argument, 0, 'O'},
|
||||
{"name", required_argument, 0, 'n'},
|
||||
|
|
|
|||
Loading…
Reference in a new issue