[Ml-yokadi] bug is task name have a dash
Sébastien Renard
Sebastien.Renard
Dim 7 Déc 12:31:12 CET 2008
Hello there,
Please, review the parser patch I have juste done to allow dash if it does not
conflict with option (8b3cb55)
It works with my basic tests (I should do unit test about this), but has some
drawbacks (see below).
Here's what it does :
- if an item have a dash, look if such an option exists
- if not, escape the dash and go through the parsing process
- after the parsing process, remove escaping (only for option we escaped
before)
Drawbacks / limitations :
- don't work with double dash. But it could be done easily.
- don't work if user want to use a dash before a known option of the command
(-k for t_add). He must escape it explicitely (should we remove the back
slash ? for now, the parser only remove backslash it previously add)
a+
--
Sébastien
Plus d'informations sur la liste de diffusion Ml-yokadi