added generic command check
improved description
Merge pull request #173 from lapresse/check-cmd

added generic command check