Add help printing when 0 argument
Fix warnings & refactor printHelp