Set maxLength via command line