From 07768fa89561a4e55391634942e696a167bc6bbf Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 7 Apr 2011 17:37:10 +0200 Subject: check_dbi: Include extra opts in help output. 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) print_usage (); printf (UT_HELP_VRSN); +/* include this conditionally to avoid 'zero-length printf format string' + * compiler warnings */ +#ifdef NP_EXTRA_OPTS + printf (UT_EXTRA_OPTS); +#endif printf ("\n"); printf (" %s\n", "-d, --driver=STRING"); -- cgit v0.10-9-g596f