{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/1519","repository_url":"https://api.github.com/repos/mawww/kakoune","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/1519/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/1519/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/1519/events","html_url":"https://github.com/mawww/kakoune/pull/1519","id":246066178,"number":1519,"title":"Add more details in wrong_argument_count error message","user":{"login":"Delapouite","id":39315,"avatar_url":"https://avatars0.githubusercontent.com/u/39315?v=4","gravatar_id":"","url":"https://api.github.com/users/Delapouite","html_url":"https://github.com/Delapouite","followers_url":"https://api.github.com/users/Delapouite/followers","following_url":"https://api.github.com/users/Delapouite/following{/other_user}","gists_url":"https://api.github.com/users/Delapouite/gists{/gist_id}","starred_url":"https://api.github.com/users/Delapouite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delapouite/subscriptions","organizations_url":"https://api.github.com/users/Delapouite/orgs","repos_url":"https://api.github.com/users/Delapouite/repos","events_url":"https://api.github.com/users/Delapouite/events{/privacy}","received_events_url":"https://api.github.com/users/Delapouite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-27T14:51:15Z","updated_at":"2017-11-06T08:07:27Z","closed_at":"2017-11-06T08:07:27Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mawww/kakoune/pulls/1519","html_url":"https://github.com/mawww/kakoune/pull/1519","diff_url":"https://github.com/mawww/kakoune/pull/1519.diff","patch_url":"https://github.com/mawww/kakoune/pull/1519.patch"},"body":"Hi\r\n\r\nI often trigger by mistake `wrong_argument_count` errors, especially when typing custom commands where I don't remember (or know) the number of params and the docstring is not clear (or absent).\r\n\r\nWith this PR, the user can more distinctly see what's going on, the new message provides additional data:\r\n\r\n`\"wrong argument count - given: {}, expected: min {} max {}`"},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/342073835","html_url":"https://github.com/mawww/kakoune/pull/1519#issuecomment-342073835","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/1519","id":342073835,"user":{"login":"Delapouite","id":39315,"avatar_url":"https://avatars0.githubusercontent.com/u/39315?v=4","gravatar_id":"","url":"https://api.github.com/users/Delapouite","html_url":"https://github.com/Delapouite","followers_url":"https://api.github.com/users/Delapouite/followers","following_url":"https://api.github.com/users/Delapouite/following{/other_user}","gists_url":"https://api.github.com/users/Delapouite/gists{/gist_id}","starred_url":"https://api.github.com/users/Delapouite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delapouite/subscriptions","organizations_url":"https://api.github.com/users/Delapouite/orgs","repos_url":"https://api.github.com/users/Delapouite/repos","events_url":"https://api.github.com/users/Delapouite/events{/privacy}","received_events_url":"https://api.github.com/users/Delapouite/received_events","type":"User","site_admin":false},"created_at":"2017-11-06T08:07:27Z","updated_at":"2017-11-06T08:07:27Z","author_association":"CONTRIBUTOR","body":"I'll do another more general PR to homogenize error messages: some start with a capital letter, other don't …"}}
{"actor":{"display_login":"Delapouite"}}