Re: Getting back into the docs.
| From: | Moacir de Oliveira | Date: | Tue, 15 Jan 2013 04:21:25 +0000 |
| Subject: | Re: Getting back into the docs. | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969384229@lists.php.net to get a copy of this message | ||
Hello Richard,
2013/1/14 Richard Quadling <rquadling@gmail.com>
> 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