{"action":"opened","issue":{"url":"https://api.github.com/repos/bcoe/yargs/issues/270","labels_url":"https://api.github.com/repos/bcoe/yargs/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/yargs/issues/270/comments","events_url":"https://api.github.com/repos/bcoe/yargs/issues/270/events","html_url":"https://github.com/bcoe/yargs/issues/270","id":109048200,"number":270,"title":"Errors are printed twice if exitProcess is false","user":{"login":"tepez","id":3265649,"avatar_url":"https://avatars.githubusercontent.com/u/3265649?v=3","gravatar_id":"","url":"https://api.github.com/users/tepez","html_url":"https://github.com/tepez","followers_url":"https://api.github.com/users/tepez/followers","following_url":"https://api.github.com/users/tepez/following{/other_user}","gists_url":"https://api.github.com/users/tepez/gists{/gist_id}","starred_url":"https://api.github.com/users/tepez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tepez/subscriptions","organizations_url":"https://api.github.com/users/tepez/orgs","repos_url":"https://api.github.com/users/tepez/repos","events_url":"https://api.github.com/users/tepez/events{/privacy}","received_events_url":"https://api.github.com/users/tepez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T09:20:59Z","updated_at":"2015-09-30T09:20:59Z","closed_at":null,"body":"When exitProcess is false, errors are outputted twice.\r\nSee failing spec in: https://github.com/bcoe/yargs/pull/269\r\n\r\nAn error is first outputted [here](https://github.com/bcoe/yargs/blob/master/lib/usage.js#L38).\r\nIt's then thrown a few lines below.\r\n\r\nIt will then be caught and outputted again [here](https://github.com/bcoe/yargs/blob/9a290d699650bb66dd28582ba61befecbf1a0551/index.js#L451).\r\n\r\nI think a simple solution would be to create something like a `ParseError` type. When we catch an error of  this type up the stack - we don't print it again.\r\n\r\nWill you accept a PR?"}}