[ditz-talk] [PATCH] Better issue_dir possibility order

William Morgan wmorgan-ditz at masanjin.net
Mon Nov 10 00:28:55 EST 2008

Reformatted excerpts from Ohad Lutzky's message of 2008-11-08:
> Actually, I think the solution in the patch makes more sense, unless
> you want to integrate trollop with your settings file. (That, too,
> could make sense...)

Well the solution in the patch would mean that if you did a --help,
there would be no default listed for --issue-dir, which isn't right.

I'm proposing that Trollop provide a way of telling whether --issue-dir
has been provided on the commandline, and if so, use it, and otherwise,
use the config file value, and if that's not there, use the Trollop

Now that I've written that sentence, I realize that the best solution
might be to just untangle this whole mess: have the configuration
filenames (.ditz-config and .ditz-plugins) be fixed, and not changeable
by Trollop. Then those would be read first, and whatever settings were
inside would form the basis for Trollop's defaults.

In that world, doing --help would be really informative: it would tell
you exactly what values were going to be used unless you overrode them
on the commandline.
William <wmorgan-ditz at masanjin.net>

More information about the ditz-talk mailing list