Patches provided by Joel Baker in PR 22308, verified by myself.
VS: ----------------------------------------------------------------------
* deprecate register * cleanup manpage * remove unused docheck() * getopt returns -1 not EOF * put a ) in the correct place in a printf, so that the argument gets & 0xff, not the result of printf() itself...