tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Package-specific debug options

Edgar Fuß <> writes:

>> Probably more generic names are better; it makes sense to have a concept
>> that each package might support 'debug' and perhaps 'debug-verbose'.
> How do other packages handle this?

generally they seem not to.

> It seems to be the usual trade-off between being consistent across
> packages inside pkgsrc and being consistent across CUPS packages.
> Regular CUPS users might wonder how to enable debug-printfs on pkgsrc.

If it's someone who's really up to debugging, presumably they'd glance
at the makefile.   Generally I do that because I'm expecting to add

> Is there a way to have a generic description of what you suggest to be
> called "debug-verbose" plus a print/cups-specific description that
> debug-verbose enables CUPS' debug-printfs option?

pkg-specific option help text seems reasonable conceptually, but I am
not aware of it existing.

Attachment: pgpR7Zck_hhas.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index