change getopt return from char to int
change getopt return from char to int
Merge branch 'getoptint' into 1.0-dev