Add implementation of command line switches for commitLock