diff options
Diffstat (limited to 'plugins/check_mysql.c')
-rw-r--r-- | plugins/check_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index dba43c5f..deac37fc 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c @@ -183,7 +183,7 @@ process_arguments (int argc, char **argv) db_host = optarg; } else { - usage (_("Invalid host name\n")); + usage2 (_("Invalid host name"), optarg); } break; case 'd': /* hostname */ @@ -221,7 +221,7 @@ process_arguments (int argc, char **argv) db_host = argv[c++]; } else { - usage ("Invalid host name"); + usage2 (_("Invalid host name"), optarg); } else if (strlen(db_user) == 0) db_user = argv[c++]; |