remove global option from line collection and cli objects