log: fix typo.
optparse: fix bug when displaying version info.