{"action":"created","issue":{"url":"https://api.github.com/repos/tj/commander.js/issues/554","repository_url":"https://api.github.com/repos/tj/commander.js","labels_url":"https://api.github.com/repos/tj/commander.js/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/tj/commander.js/issues/554/comments","events_url":"https://api.github.com/repos/tj/commander.js/issues/554/events","html_url":"https://github.com/tj/commander.js/issues/554","id":164348576,"number":554,"title":"Wrong error message when user made a typo","user":{"login":"bosco-li","id":14810992,"avatar_url":"https://avatars.githubusercontent.com/u/14810992?v=3","gravatar_id":"","url":"https://api.github.com/users/bosco-li","html_url":"https://github.com/bosco-li","followers_url":"https://api.github.com/users/bosco-li/followers","following_url":"https://api.github.com/users/bosco-li/following{/other_user}","gists_url":"https://api.github.com/users/bosco-li/gists{/gist_id}","starred_url":"https://api.github.com/users/bosco-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosco-li/subscriptions","organizations_url":"https://api.github.com/users/bosco-li/orgs","repos_url":"https://api.github.com/users/bosco-li/repos","events_url":"https://api.github.com/users/bosco-li/events{/privacy}","received_events_url":"https://api.github.com/users/bosco-li/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-07T16:10:37Z","updated_at":"2016-07-07T18:52:48Z","closed_at":"2016-07-07T18:52:48Z","body":"Following the example: https://github.com/tj/commander.js/blob/master/examples/pizza, if the user type `-cheese` instead of `--cheese` by mistake, the command will return\r\n\r\n`error: unknown option '-e'`\r\n\r\nThis is because the normalize option parsed `-cheese` into single character options like `[ '-c', '-h', '-e', '-e', '-s', '-e' ]`"},"comment":{"url":"https://api.github.com/repos/tj/commander.js/issues/comments/231172804","html_url":"https://github.com/tj/commander.js/issues/554#issuecomment-231172804","issue_url":"https://api.github.com/repos/tj/commander.js/issues/554","id":231172804,"user":{"login":"bosco-li","id":14810992,"avatar_url":"https://avatars.githubusercontent.com/u/14810992?v=3","gravatar_id":"","url":"https://api.github.com/users/bosco-li","html_url":"https://github.com/bosco-li","followers_url":"https://api.github.com/users/bosco-li/followers","following_url":"https://api.github.com/users/bosco-li/following{/other_user}","gists_url":"https://api.github.com/users/bosco-li/gists{/gist_id}","starred_url":"https://api.github.com/users/bosco-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosco-li/subscriptions","organizations_url":"https://api.github.com/users/bosco-li/orgs","repos_url":"https://api.github.com/users/bosco-li/repos","events_url":"https://api.github.com/users/bosco-li/events{/privacy}","received_events_url":"https://api.github.com/users/bosco-li/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T18:52:48Z","updated_at":"2016-07-07T18:52:48Z","body":"From the test cases [here](https://github.com/tj/commander.js/blob/master/test/test.options.cflags.js) looks like this is intentional."}}
{"actor":{"display_login":"bosco-li"}}