Work on reinstating the revert command and fixed an issue with the print
command and specifying a block, also made attempting to add a duplicate
entry to a block a fatal error with a >0 exit code.