document maxDepth option

See title.
ouch! I had mistyped that in the code too. This one slipped my checks.