Strips the -- and - off of flags