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

Sebastian Harl sh at tokkee.org
Tue Oct 28 10:55:40 CET 2008


Hi,

On Tue, Oct 28, 2008 at 10:37:16AM +0100, Tobias Oetiker wrote:
> Today Sebastian Harl wrote:
> > 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
> 
> you wouldn't even have to complain since having a different
> default is fine ...

Well, --header would imply that a header should be created while
--no-header means exactly the opposite, so specifying both would not
make sense. Sorry, if I was unclear about that.

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/9ef83b78/attachment.bin 


More information about the rrd-developers mailing list