use parseOpts in parseCommit