diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index ce4c0848..1c24e588 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -102,7 +102,8 @@ process_arguments (int argc, char **argv) | |||
102 | static struct option longopts[] = { | 102 | static struct option longopts[] = { |
103 | {"help", no_argument, 0, 'h'}, | 103 | {"help", no_argument, 0, 'h'}, |
104 | {"version", no_argument, 0, 'V'}, | 104 | {"version", no_argument, 0, 'V'}, |
105 | {"host", required_argument, 0, 'H'}, | 105 | {"host", required_argument, 0, 'H'}, /* backward compatibility */ |
106 | {"hostname", required_argument, 0, 'H'}, | ||
106 | {"port", required_argument, 0, 'p'}, | 107 | {"port", required_argument, 0, 'p'}, |
107 | {"use-ipv4", no_argument, 0, '4'}, | 108 | {"use-ipv4", no_argument, 0, '4'}, |
108 | {"use-ipv6", no_argument, 0, '6'}, | 109 | {"use-ipv6", no_argument, 0, '6'}, |