[dvblast-devel] [PATCH] Verbosity / quietness option and tidy up of usage output
Andy Gatward
a.j.gatward at reading.ac.uk
Thu Jun 4 23:57:06 CEST 2009
Hi,
The attached patch adds a '-q' option to dvblast to allow the amount of output to be reduced. The q can be repeated, or followed with a number to affect the amount of quietness, e.g. '-qqq' or '-q3'.
I have also added a msg_Raw() function to util.c, which allows the output of relatively raw text to STDERR. This is now used by the functions in dvblast.c and dvblastctl.c which generate usage info, to remove the annoying prefixes.
The restarting message output when dvblast run has been downgraded to a warning from an error; this will hopefully confuse users less; however longer term, it would probably be better to replace this with a version banner IMO.
Andy.
--
Andy Gatward <a.j.gatward at reading.ac.uk> +44 (0)118 378 7147
Network Services Specialist, IT Services, University of Reading, UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvblast-r9-verbosity.patch
Type: application/octet-stream
Size: 7712 bytes
Desc: dvblast-r9-verbosity.patch
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20090604/4f3dca75/attachment.obj>
More information about the dvblast-devel
mailing list