command line: print help and kbd list to stdout

Revert recent wlog changes for command line and print help/kbd listings
directly to stdout
command line: fix --version

In command line detection status (return) values were ignored therefore
--version wasn't recognized properly and help was printed
Merge pull request #2106 from bmiklautz/issue/2103

misc command line fixes