[Ml-yokadi] Request for change t_list -t behaviour

Aurélien Gâteau aurelien.gateau at free.fr
Sun Oct 18 22:57:51 CEST 2009


Sébastien Renard a écrit :
> Le samedi 10 octobre 2009 21:52:03, Aurélien Gâteau a écrit :
>> 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" :)
> 
> Throw away in /dev/null.
> 
> BTW, --overdue option has been added.

Great, thanks!


More information about the Ml-yokadi mailing list