[Ml-yokadi] Request for change t_list -t behaviour
Aurélien Gâteau
aurelien.gateau at free.fr
Sat Oct 10 21:52:03 CEST 2009
Sébastien Renard a écrit :
>>> Exact. This is a general YokadiParser mechanism. If you feel this is very
>>> important we could add an option to YokadiOptionParser to deactivate or
>>> not ignoring unknown option.
>> Yes, it makes sense to me to ignore unknown options for {t,bug}_add, but
>> not for the other commands, so adding a boolean flag to toggle this
>> behavior makes sense. I think unknown options should not be ignored by
>> default, so it would be up to parser_{t,bug}_add to switch the flag on.
>
> Ok... I've just add the switch and figure out that in fact {t, bug}_add do not
> use anymore optionparser ;-).
>
> So, the big hack is optionparser is not used anymore... Else if we want to add
> complex option to t_add that required it.
>
> Should we remove it ?
If it's not used anymore, it should be removed. "Never miss an
opportunity to throw away code" :)
Aurélien
More information about the Ml-yokadi
mailing list