Fix unparsed options checking regex.

Sould only catch options, not arguments with dashes in them.