diff options
| author | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-15 12:52:25 +0000 |
|---|---|---|
| committer | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-15 12:52:25 +0000 |
| commit | e5324624caefb201439012d795bebdf46966ec9c (patch) | |
| tree | 0d94d5ab9044c1ac6aebf67906e7d7626135c1fb /plugins/check_mysql_query.c | |
| parent | 180f20d60dde6e2584e2abda4e9f9e4fc6d8c1ae (diff) | |
| download | monitoring-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index b542fb44..404ca79f 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) | |||
| 292 | void | 293 | void |
| 293 | print_usage (void) | 294 | print_usage (void) |
| 294 | { | 295 | { |
| 295 | printf ("\ | 296 | printf (_("Usage:")); |
| 296 | Usage: %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 | } |
