Change GetOptError to str for display purpose.
Merge pull request #5 from Siarc/master

Change GetOptError to str for display purpose.