add command-line parameter: limit