cli's default maxSize should be Infinity, not 0 (#1739)

Fix #1738
This commit is contained in:
Erik Demaine
2018-10-12 22:18:01 -04:00
committed by Kevin Barabash
parent 274dfdae4f
commit 3514d48856

2
cli.js
View File

@@ -44,7 +44,7 @@ const program = require("commander")
"If non-zero, all user-specified sizes, e.g. in " +
"\\rule{500em}{500em}, will be capped to maxSize ems. " +
"Otherwise, elements and spaces can be arbitrarily large",
0, parseInt)
Infinity, parseInt)
.option("-e, --max-expand <n>",
"Limit the number of macro expansions to the specified number, to " +
"prevent e.g. infinite macro loops. If set to Infinity, the macro " +