diff options
author | Sebastian Harl <sh@teamix.net> | 2011-04-07 17:37:10 +0200 |
---|---|---|
committer | Sebastian Harl <sh@teamix.net> | 2012-06-06 14:10:55 +0200 |
commit | 07768fa89561a4e55391634942e696a167bc6bbf (patch) | |
tree | 87bb851664d59a5f05a923cd888d26fd54bfeb08 /plugins/check_dbi.c | |
parent | f9a942d2a11e70ee68d5ea2c9aa762bff004bf43 (diff) | |
download | monitoring-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c index b52602c4..47b239a9 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"); |