Resolved a stupid BUG
Function parse command line options