bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order of command line options handed over to texi2any when running t


From: Gavin Smith
Subject: Re: Order of command line options handed over to texi2any when running texinfo-js
Date: Tue, 1 Jan 2019 19:27:43 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jan 01, 2019 at 06:55:20PM +0100, Stefan Husmann wrote:
> Okay, so I tried
> 
> address@hidden lispintro]$ texinfo-js -I ../emacs emacs-lisp-intro.texi
> texinfo-js: unknown option --I
> 
> Why two hyphens?

Glad to see somebody is trying this system!  The extra hyphen was an error
and has been fixed in version cf9c110.

> This works and produces good looking HTML code:
> 
> texinfo-js emacs-lisp-intro.texi -I ../emacs
> 
> So the order of options is significant, so far so good. But the error
> message is quit unclear.

The texi2any options come after the manual name to distinguish them from 
options to texinfo-js itself (currently, only --version and --help).  
Also, sophisticated option parsing is not easy in shell script.

Happy new year!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]