retitle 486965 linuxdoc-tools: wrong parsing of options with standalone 0
thanks
On Thu, Jun 19, 2008 at 11:09:25AM +0200, Alexander Wirt wrote:
> reassign 486965 linuxdoc-tools
> thanks
> It seems like that option parsing is somewhat broken in sgml2html:
>
> sgml2html --split=0 arpd.sgml - works
> sgml2html -s 0 arpd.sgml - worked before...: Error: Option -s: value required
>
> Therefore I'm reassigning this to linuxdoc-tools.
Thanks,
Funnily sgml2html -s 1 arpd.sgml should work.
The reason is that during last LinuxDocTools rewrite I put an options
processing loop like
while ( $_ = shift @tmpargs )
where @tmpargs holds the command line stuff, and that will stop looping when
any standalone 0 is in the command line (like in -s 0)
Changing to
while ( @tmpargs ){
$_ = shift @tmpargs;
should do the work. Expect a fixed package today.
--
Agustin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]