Hello Richard,
2013/1/14 Richard Quadling <[email protected]> > Hello all. > > Just getting back into the docs and I'm coming up against the changes made > in > http://git.php.net/?p=phd.git;a=commitdiff;h=dc61fff7daab9c3498f5c4bd8ddee9fbea139989;hp=e65c062692173f921c16a1bc81f2d70e60a253a4 > > From what I am seeing, to use optional values (lang::), I need to use the > = separator (this may be windows only and a bug - I'm not sure). > > So, --lang=en rather than --lang en > > But the patch gives an error ... > > [02:28:41 - E_USER_ERROR ] > D:\PHP\Manual\PHD\phpdotnet\phd\Options\Parser.php:84 > Invalid long option --lang=en > Yes, that's a bug, and not windows only. For the patch, would be easier to explode in '=' and then check if the option is valid. -- Moacir de Oliveira
