Hi, I got a problem because I had an option that was a negative integer -n -200 for instance -200 should be the value of the n option not an option itself but I got a parse exception.
A workaround is to put double-quote around this negative integer: -n "-200". Such it will pass as a string. Then when calling getOptionValue("n") will give a string with 6 characters. It will be simply ncessary to remove the first and last characters. Is there a more elegant solution? Xavier.