Helper for parsing line settings