Add command line option --max-length