On Sun, Nov 27, 2005 at 10:27:02PM +0100, Thijs Kinkhorst wrote: > 1) the -f (format) option is listed to default to 'sh', but it doesn't. > When omitting the -f option the program yields "error: you must specify a > format!". Which makes sense to me, so I think just the mention of the > default should be dropped.
done. i've changed "default: sh" to "must be specified", as i agree that makes a little more sense. > 2) the short options -d, -s, -p, -u, -P and -t do not work. The man page > and online help give: > dbconfig-load-include [-hv] [-a] [-d [varname]] [-u [varname]] [-p > [varname]] [-s [varname]] [-P [varname]] [-t [varname]] -f format infile > but here's what happens with e.g. -t: > $ dbconfig-load-include -t dbms -f php /etc/package/config.php > unable to read input file dbms > $ dbconfig-load-include -t=dbms -f php /etc/package/config.php > Parse error: parse error, unexpected '=', expecting T_VARIABLE or '$' > in - on line 21 > $ dbconfig-load-include --dbtype dbms -f php /etc/package/config.php > unable to read input file dbms > $ dbconfig-load-include --dbtype=dbms -f php /etc/package/config.php > dbc_dbtype='mysql'; > So only the last invocation works, but this way of calling is advertised > nowhere. looks like some getopt funkiness, i'll take a look to see if i can find what is causing it... sean
signature.asc
Description: Digital signature