Fixed command line parsing.

Negated options ("-foo-") were wrongly parsed.