diff options
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r-- | plugins/check_nt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 65c4e693..b9aae1c4 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c @@ -505,13 +505,16 @@ int process_arguments(int argc, char **argv){ } + if (vars_to_check==CHECK_NONE) + return ERROR; + return OK; } void print_usage(void) { - printf("Usage: %s -H host [-p port] [-v variable] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout]\n",progname); + printf("Usage: %s -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout]\n",progname); } |