style improvements and pep8
Merge pull request #1311 from asmacdo/client-commands-repo-style

style improvements and pep8