Add support for --linelength option