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

Sébastien Renard Sebastien.Renard at digitalfox.org
Sat Oct 10 13:08:45 CEST 2009


Le jeudi 8 octobre 2009 23:10:46, Aurélien Gâteau a écrit :
> > Ok, so let's add a *new* option for overdue tasks and remove or deprecate
> > old -t option ?
>
> I agree, but I believe we do not need a short option for every available
> options, so I would like to start with just adding "--overdue".

Still don't understand why for as such useful option... But ok, let's start 
with only a long one...

> > 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 ?
-- 
Sébastien


More information about the Ml-yokadi mailing list