summaryrefslogtreecommitdiffstats
path: root/plugins/check_mysql_query.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-15 12:52:25 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-15 12:52:25 (GMT)
commite5324624caefb201439012d795bebdf46966ec9c (patch)
tree0d94d5ab9044c1ac6aebf67906e7d7626135c1fb /plugins/check_mysql_query.c
parent180f20d60dde6e2584e2abda4e9f9e4fc6d8c1ae (diff)
downloadmonitoring-plugins-e5324624caefb201439012d795bebdf46966ec9c.tar.gz
cleaning help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1432 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mysql_query.c')
-rw-r--r--plugins/check_mysql_query.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c
index b542fb4..404ca79 100644
--- a/plugins/check_mysql_query.c
+++ b/plugins/check_mysql_query.c
@@ -264,8 +264,9 @@ print_help (void)
264 264
265 printf ("%s\n", _("This program checks a query result against threshold levels")); 265 printf ("%s\n", _("This program checks a query result against threshold levels"));
266 266
267 print_usage (); 267 printf ("\n\n");
268 268
269 print_usage ();
269 270
270 printf (_(UT_HELP_VRSN)); 271 printf (_(UT_HELP_VRSN));
271 printf (" -q, --query=STRING\n"); 272 printf (" -q, --query=STRING\n");
@@ -292,8 +293,7 @@ print_help (void)
292void 293void
293print_usage (void) 294print_usage (void)
294{ 295{
295 printf ("\ 296 printf (_("Usage:"));
296Usage: %s -q SQL_query [-w warn] [-c crit]\n\ 297 printf ("%s -q SQL_query [-w warn] [-c crit]\n",progname);
297 [-d database] [-H host] [-P port] [-u user] [-p password]\n", 298 printf ("[-d database] [-H host] [-P port] [-u user] [-p password]\n");
298 progname);
299} 299}