Added test case for dashes in options