diff --git a/THANKS.in b/THANKS.in index 584fee08..b18c66bb 100644 --- a/THANKS.in +++ b/THANKS.in @@ -208,3 +208,4 @@ Sebastian Schubert Jason Hoos Chris Grim Nobuhiro Ban +Ville Mattila 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) 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'},