dbconfig-generate-include --version (return code: 0)
dbconfig-generate-include v$
copyright (c) 2005 sean finney <seanius@debian.org>
dbconfig-generate-include --help (return code: 0)
dbconfig-generate-include v$
copyright (c) 2005 sean finney <seanius@debian.org>
usage: dbconfig-generate-include [-hv] [-f format] [-a] [-d[varname]] [-u[varname]] [-p[varname]] [-s[varname]] [-P[varname]] [-t[varname]] [-C[comment]] [-O owner[:group]] [-m mode] [-U] infile [outfile]
infile use the given dbconfig-common config file as input
outfile use the given file as input (default: stdout)
-f|--format use the given output format (default: sh)
-o|--options provide output-format-specific options
-a|--all include all information in output (default)
-b|--basepath include the basepath in the output
-d|--dbname include the dbname in the output
-p|--dbpass include the dbpass in the output
-s|--dbserver include the dbserver in the output
-P|--dbport include the dbport in the output
-u|--dbuser include the dbuser in the output
-t|--dbtype include the dbtype in the output
-C|--comment comment out unset variables
-O|--owner set the owner:group of the output file
-m|--mode set the permissions on the output file
-U|--ucf register the outputfile with ucf
-h|--help display this helpful message
-v|--version output the version and exit
format is one of a list of include-file style formats for various
programming languages. the current list includes:
sh - /bin/sh style include file
perl - perl parseable include file
php - php parseable include file
template - perform pattern substitution on a pre-existing template
cpp - c-style header file, using #define'd constants