#66 '--' in options command line on windows give nothing

closed-fixed
None
5
2011-01-23
2010-12-25
zebul666
No

hi.
normally, when you add '--' in the list of options, it means to ignore any element beginning with '-' after it and not to parse them as option
this is usefull for example
espeak -- -56
to output as minus fifty six as speak

but when you run something like that on windows, espeak return immediatly and do nothing. the exit status code is 0.

Note: if you use french (-v fr) the negative sign is ignored. One have to use explicitly 'moins' instead of '-' to get in pronounced !

Discussion

    • assigned_to: nobody --> jonsd
    • status: open --> open-fixed
     
  • Fixed for Windows eSpeak in version 1.44.20, at:
    http://espeak.sf.net/test/latest.html

    Is this a Windows-only feature? I've not heard of it before.

     
  • zebul666
    zebul666
    2011-01-14

    this is a feature commonly found in the unix wolrd in command-line interface software.
    It was already working in linux version of espeak

     
    • status: open-fixed --> closed-fixed