Fix command line parameter parser of revert/cherry-pick