tools/generate-ja-opsguide.sh: add DO_COMMIT option