I fixed the max vs limit and added more information in the help:

        .add("output-size-limit", &param.max_size, -1, "Limit the output size, in KB (-1 for no limit). This is only an estimate, the output may be bigger")

The goal of this parameter is to limit the HTML to a size. The beat way I found to plug this is to limit the number of pages, once the limit has been reached. Since I did not want to hook too deep in the system, I use the temp files, but still I think we should keep the parameter as a output-size-limit.

What do you think?