Output help information when error

Issue: https://issues.apache.org/jira/browse/CB-3381