On Thu, Mar 12, 2009 at 02:55:03AM -0700, Carson Gaspar wrote: > Bron Gondwana wrote: > > > AAA+++ to cyr_conf! I'll write it up :) I think we want it to have the > > following spec: > > > > * cyr_conf - output all configuration variables and their current value > > * cyr_conf -C $file - as above with the following config file > > * cyr_conf -n $name - all configuration variables for process $name > > (eg cyr_conf -n imapd => show imapd overrides where given) > > * cyr_conf -q - only show variables that are different than default > > > > - those three can be mixed and matched > > > > * cyr_conf -D - show all the DEFAULT variables. Obviously, ignores all > > other options! > > Please include one of the most useful options that postconf has > (postconf -n) - emit only those config key/value pairs that are not set > to their default values. More often useful in real life than just > emitting all config key/value pairs.
Yeah, I called that -q. If we make it -n then we'll have to make the named process config a different character. The spec isn't nailed down yet, I haven't even written anything! Bron ( been busy with cache stuff ) ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html