[rrd-developers] [PATCH] rrd_dump and XML schema definition

Sebastian Harl sh at tokkee.org
Tue Oct 28 10:32:29 CET 2008


Hi,

On Tue, Oct 28, 2008 at 01:40:37AM -0700, tlindenmann wrote:
>    - change the argument "[--no-header|-n]" to [--header|-h {xsd,dtd}]
> (default "no header output")

Hrm ... this breaks backwards compatibility of the user interface and it
changes the current default behavior. I'd rather suggest to do the
following:

 - keep the --no-header|-n option
 - create a DTD header by default
 - use --header|-h to change that default
 - complain if both, -n and -h are used

This should preserve the old behavior, thus not breaking possibly
existing scripts and you may _explicitly_ specify whether to create or
not to create a header, which imho is a much nicer interface.

Comments?

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20081028/0fed3277/attachment.bin 


More information about the rrd-developers mailing list