{"action":"created","issue":{"url":"https://api.github.com/repos/trevorld/getopt/issues/9","repository_url":"https://api.github.com/repos/trevorld/getopt","labels_url":"https://api.github.com/repos/trevorld/getopt/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/trevorld/getopt/issues/9/comments","events_url":"https://api.github.com/repos/trevorld/getopt/issues/9/events","html_url":"https://github.com/trevorld/getopt/issues/9","id":196540813,"number":9,"title":"short flag overlapping with defaults","user":{"login":"jeffpbruce","id":9290719,"avatar_url":"https://avatars.githubusercontent.com/u/9290719?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffpbruce","html_url":"https://github.com/jeffpbruce","followers_url":"https://api.github.com/users/jeffpbruce/followers","following_url":"https://api.github.com/users/jeffpbruce/following{/other_user}","gists_url":"https://api.github.com/users/jeffpbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffpbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffpbruce/subscriptions","organizations_url":"https://api.github.com/users/jeffpbruce/orgs","repos_url":"https://api.github.com/users/jeffpbruce/repos","events_url":"https://api.github.com/users/jeffpbruce/events{/privacy}","received_events_url":"https://api.github.com/users/jeffpbruce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-19T22:48:51Z","updated_at":"2016-12-20T00:19:07Z","closed_at":null,"body":"There is small bug where the parse_args() function will crash if any of your options have a short flag that is the same as one of the options that is there by default.  In my case I had an option with the short flag '-h' which overlaps with that of \"--help\".  I spent some time trying to figure out what was going wrong, so it would be nice if the function gave some indication that you may need to change your short/long flag so it doesn't overlap with the defaults."},"comment":{"url":"https://api.github.com/repos/trevorld/getopt/issues/comments/268117310","html_url":"https://github.com/trevorld/getopt/issues/9#issuecomment-268117310","issue_url":"https://api.github.com/repos/trevorld/getopt/issues/9","id":268117310,"user":{"login":"trevorld","id":2433259,"avatar_url":"https://avatars.githubusercontent.com/u/2433259?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorld","html_url":"https://github.com/trevorld","followers_url":"https://api.github.com/users/trevorld/followers","following_url":"https://api.github.com/users/trevorld/following{/other_user}","gists_url":"https://api.github.com/users/trevorld/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorld/subscriptions","organizations_url":"https://api.github.com/users/trevorld/orgs","repos_url":"https://api.github.com/users/trevorld/repos","events_url":"https://api.github.com/users/trevorld/events{/privacy}","received_events_url":"https://api.github.com/users/trevorld/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T00:19:06Z","updated_at":"2016-12-20T00:19:06Z","body":"Also opening issue in ``optparse`` project.  ``getopt`` doesn't actually create a help option by default but I agree its error message could be a little more helpful.\r\n\r\nhttps://github.com/trevorld/optparse/issues/19"}}
{"actor":{"display_login":"trevorld"}}