{"action":"closed","issue":{"url":"https://api.github.com/repos/bcoe/yargs/issues/184","labels_url":"https://api.github.com/repos/bcoe/yargs/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/yargs/issues/184/comments","events_url":"https://api.github.com/repos/bcoe/yargs/issues/184/events","html_url":"https://github.com/bcoe/yargs/issues/184","id":89619706,"number":184,"title":"Setting a `default()` for `config()` causes an error on `--help`","user":{"login":"rdmurphy","id":419145,"avatar_url":"https://avatars.githubusercontent.com/u/419145?v=3","gravatar_id":"","url":"https://api.github.com/users/rdmurphy","html_url":"https://github.com/rdmurphy","followers_url":"https://api.github.com/users/rdmurphy/followers","following_url":"https://api.github.com/users/rdmurphy/following{/other_user}","gists_url":"https://api.github.com/users/rdmurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/rdmurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdmurphy/subscriptions","organizations_url":"https://api.github.com/users/rdmurphy/orgs","repos_url":"https://api.github.com/users/rdmurphy/repos","events_url":"https://api.github.com/users/rdmurphy/events{/privacy}","received_events_url":"https://api.github.com/users/rdmurphy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-19T17:37:11Z","updated_at":"2015-07-06T06:06:03Z","closed_at":"2015-07-06T06:06:03Z","body":"```js\r\nvar argv = yargs.usage('Usage: $0 [options]')\r\n  .config('c').alias('c', 'config').default('config', 'config.json')\r\n  .help('h').alias('h', 'help').argv;\r\n```\r\nWhen someone tries to run `command --help`, `yargs` throws an error because `config.json` isn't found. But that feels not ideal. My expectation was that it'd print the help text as normal.\r\n\r\nIs there something I'm missing?\r\n\r\nThanks!"}}