fixed docopt failure
fixed error reporting in check command