Let's give `line_mode` a default value so it's clear that it's a boolean.