[xml/sgml-pkgs] Bug#486965: iproute: FTBFS: Error: Option -s: value required

Agustin Martin agmartin at debian.org
Thu Jun 19 10:57:30 UTC 2008

retitle 486965 linuxdoc-tools: wrong parsing of options with standalone 0

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. 


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.


More information about the debian-xml-sgml-pkgs mailing list