Page 1 of 1

BUG? swift command in windows without output filename

PostPosted: Tue Jun 29, 2010 7:58 pm
by iebgenr
executing the following command in windows displays a "usage" listing to stderr but returns errorlevel 0. i submit that a non-zero errorlevel should be returned, since the value of the "-o" parameter is missing. Leaving out the value of "-n" or "-f" DOES return a non-zero errorlevel.

Code: Select all
swift -n test.txt -o

i don't see the errorlevels documented anywhere, but i've discovered the following. If there are more i'd like to be enlightened.

0 = success; life is good; thanks for all the fish!
4 = parameter value missing
6 = could not speak / misc error
9 = voice not found

PostPosted: Tue Jul 20, 2010 8:03 am
by AdamW
It probably is a bug. We will investigate. Thanks for the feedback.