Fixed commandline and config parsing. Thx @xplusplus. Rebased on master and fixed merge conflicts.
qmk doctor