Abdelrazak Younes wrote:

> Not always, the -f option would be implicit if the filenames are given
> first. For example these 4 command lines would be OK:
> 
> lyx UserGuide.lyx Intro.lyx -c 3 -dbg key
> lyx UserGuide.lyx -c 3 -dbg key -f Intro.lyx
> lyx -c 3 -dbg key -f UserGuide.lyx Intro.lyx
> lyx UserGuide.lyx -c 3 -dbg key -f UserGuide.lyx -f Intro.lyx

Good.

> But this one (which we allow presently) would not be OK:
> 
> lyx -c 3 -dbg key UserGuide.lyx Intro.lyx
> 
> This last syntax IMHO this is bug prone and contains an inherent
> ambiguity.

Why bug prone? Some of my own programs work well like this: Parse any
potential options, and everything that is left aftre that must be a file
name.


Georg

Reply via email to