Fix commits documentation

Added documentation for optional params added in 7f71d56