summaryrefslogtreecommitdiffstats
path: root/plugins/check_dbi.c
diff options
context:
space:
mode:
authorSebastian Harl <sh@teamix.net>2011-04-07 15:37:10 (GMT)
committerSebastian Harl <sh@teamix.net>2012-06-06 12:10:55 (GMT)
commit07768fa89561a4e55391634942e696a167bc6bbf (patch)
tree87bb851664d59a5f05a923cd888d26fd54bfeb08 /plugins/check_dbi.c
parentf9a942d2a11e70ee68d5ea2c9aa762bff004bf43 (diff)
downloadmonitoring-plugins-07768fa89561a4e55391634942e696a167bc6bbf.tar.gz
check_dbi: Include extra opts in help output.
Diffstat (limited to 'plugins/check_dbi.c')
-rw-r--r--plugins/check_dbi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index b52602c..47b239a 100644
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
@@ -353,6 +353,11 @@ print_help (void)
353 print_usage (); 353 print_usage ();
354 354
355 printf (UT_HELP_VRSN); 355 printf (UT_HELP_VRSN);
356/* include this conditionally to avoid 'zero-length printf format string'
357 * compiler warnings */
358#ifdef NP_EXTRA_OPTS
359 printf (UT_EXTRA_OPTS);
360#endif
356 printf ("\n"); 361 printf ("\n");
357 362
358 printf (" %s\n", "-d, --driver=STRING"); 363 printf (" %s\n", "-d, --driver=STRING");