check args in cli
Merge pull request #9 from igas/cli-check-args

check args in cli