Fixed command-line options parser

sorry for the last PR !