[minor] use tmp for dist output and change key to dist
[docs] change option keys