{"action":"closed","number":1804,"pull_request":{"url":"https://api.github.com/repos/nodejs/io.js/pulls/1804","id":36254789,"html_url":"https://github.com/nodejs/io.js/pull/1804","diff_url":"https://github.com/nodejs/io.js/pull/1804.diff","patch_url":"https://github.com/nodejs/io.js/pull/1804.patch","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1804","number":1804,"state":"closed","locked":false,"title":"src: add getopt option parser","user":{"login":"evanlucas","id":677994,"avatar_url":"https://avatars.githubusercontent.com/u/677994?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlucas","html_url":"https://github.com/evanlucas","followers_url":"https://api.github.com/users/evanlucas/followers","following_url":"https://api.github.com/users/evanlucas/following{/other_user}","gists_url":"https://api.github.com/users/evanlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlucas/subscriptions","organizations_url":"https://api.github.com/users/evanlucas/orgs","repos_url":"https://api.github.com/users/evanlucas/repos","events_url":"https://api.github.com/users/evanlucas/events{/privacy}","received_events_url":"https://api.github.com/users/evanlucas/received_events","type":"User","site_admin":false},"body":"Initial getopt implementation for option parsing. Supersedes https://github.com/nodejs/io.js/pull/1726.\r\n\r\nI split out the actual options to try and make it more maintainable. ","created_at":"2015-05-26T23:06:42Z","updated_at":"2015-06-01T13:42:27Z","closed_at":"2015-06-01T13:42:27Z","merged_at":null,"merge_commit_sha":"62f692a6edda777b6f61cf727beb73b221576069","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/io.js/pulls/1804/commits","review_comments_url":"https://api.github.com/repos/nodejs/io.js/pulls/1804/comments","review_comment_url":"https://api.github.com/repos/nodejs/io.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1804/comments","statuses_url":"https://api.github.com/repos/nodejs/io.js/statuses/c0e7bf2d8ceb65ad3840bc4ebf3cbd9fef8e8c14","head":{"label":"evanlucas:getopt","ref":"getopt","sha":"c0e7bf2d8ceb65ad3840bc4ebf3cbd9fef8e8c14","user":{"login":"evanlucas","id":677994,"avatar_url":"https://avatars.githubusercontent.com/u/677994?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlucas","html_url":"https://github.com/evanlucas","followers_url":"https://api.github.com/users/evanlucas/followers","following_url":"https://api.github.com/users/evanlucas/following{/other_user}","gists_url":"https://api.github.com/users/evanlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlucas/subscriptions","organizations_url":"https://api.github.com/users/evanlucas/orgs","repos_url":"https://api.github.com/users/evanlucas/repos","events_url":"https://api.github.com/users/evanlucas/events{/privacy}","received_events_url":"https://api.github.com/users/evanlucas/received_events","type":"User","site_admin":false},"repo":{"id":27466639,"name":"io.js","full_name":"evanlucas/io.js","owner":{"login":"evanlucas","id":677994,"avatar_url":"https://avatars.githubusercontent.com/u/677994?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlucas","html_url":"https://github.com/evanlucas","followers_url":"https://api.github.com/users/evanlucas/followers","following_url":"https://api.github.com/users/evanlucas/following{/other_user}","gists_url":"https://api.github.com/users/evanlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlucas/subscriptions","organizations_url":"https://api.github.com/users/evanlucas/orgs","repos_url":"https://api.github.com/users/evanlucas/repos","events_url":"https://api.github.com/users/evanlucas/events{/privacy}","received_events_url":"https://api.github.com/users/evanlucas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evanlucas/io.js","description":"Evented IO for V8 JavaScript","fork":true,"url":"https://api.github.com/repos/evanlucas/io.js","forks_url":"https://api.github.com/repos/evanlucas/io.js/forks","keys_url":"https://api.github.com/repos/evanlucas/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evanlucas/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evanlucas/io.js/teams","hooks_url":"https://api.github.com/repos/evanlucas/io.js/hooks","issue_events_url":"https://api.github.com/repos/evanlucas/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/evanlucas/io.js/events","assignees_url":"https://api.github.com/repos/evanlucas/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/evanlucas/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/evanlucas/io.js/tags","blobs_url":"https://api.github.com/repos/evanlucas/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evanlucas/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evanlucas/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/evanlucas/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evanlucas/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/evanlucas/io.js/languages","stargazers_url":"https://api.github.com/repos/evanlucas/io.js/stargazers","contributors_url":"https://api.github.com/repos/evanlucas/io.js/contributors","subscribers_url":"https://api.github.com/repos/evanlucas/io.js/subscribers","subscription_url":"https://api.github.com/repos/evanlucas/io.js/subscription","commits_url":"https://api.github.com/repos/evanlucas/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/evanlucas/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/evanlucas/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/evanlucas/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/evanlucas/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/evanlucas/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evanlucas/io.js/merges","archive_url":"https://api.github.com/repos/evanlucas/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evanlucas/io.js/downloads","issues_url":"https://api.github.com/repos/evanlucas/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/evanlucas/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/evanlucas/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/evanlucas/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evanlucas/io.js/labels{/name}","releases_url":"https://api.github.com/repos/evanlucas/io.js/releases{/id}","created_at":"2014-12-03T03:07:41Z","updated_at":"2014-12-20T01:04:31Z","pushed_at":"2015-06-01T13:42:27Z","git_url":"git://github.com/evanlucas/io.js.git","ssh_url":"git@github.com:evanlucas/io.js.git","clone_url":"https://github.com/evanlucas/io.js.git","svn_url":"https://github.com/evanlucas/io.js","homepage":null,"size":131087,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v0.12"}},"base":{"label":"nodejs:master","ref":"master","sha":"d29034b34b97a0c23e93e9d40feae132c622c0fd","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"io.js","full_name":"nodejs/io.js","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/io.js","description":"Node.js, but with bigger and faster version numbers","fork":false,"url":"https://api.github.com/repos/nodejs/io.js","forks_url":"https://api.github.com/repos/nodejs/io.js/forks","keys_url":"https://api.github.com/repos/nodejs/io.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/io.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/io.js/teams","hooks_url":"https://api.github.com/repos/nodejs/io.js/hooks","issue_events_url":"https://api.github.com/repos/nodejs/io.js/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/io.js/events","assignees_url":"https://api.github.com/repos/nodejs/io.js/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/io.js/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/io.js/tags","blobs_url":"https://api.github.com/repos/nodejs/io.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/io.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/io.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/io.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/io.js/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/io.js/languages","stargazers_url":"https://api.github.com/repos/nodejs/io.js/stargazers","contributors_url":"https://api.github.com/repos/nodejs/io.js/contributors","subscribers_url":"https://api.github.com/repos/nodejs/io.js/subscribers","subscription_url":"https://api.github.com/repos/nodejs/io.js/subscription","commits_url":"https://api.github.com/repos/nodejs/io.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/io.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/io.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/io.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/io.js/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/io.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/io.js/merges","archive_url":"https://api.github.com/repos/nodejs/io.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/io.js/downloads","issues_url":"https://api.github.com/repos/nodejs/io.js/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/io.js/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/io.js/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/io.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/io.js/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/io.js/releases{/id}","created_at":"2014-11-26T19:57:11Z","updated_at":"2015-06-01T12:45:39Z","pushed_at":"2015-06-01T13:42:26Z","git_url":"git://github.com/nodejs/io.js.git","ssh_url":"git@github.com:nodejs/io.js.git","clone_url":"https://github.com/nodejs/io.js.git","svn_url":"https://github.com/nodejs/io.js","homepage":"https://iojs.org","size":185285,"stargazers_count":12557,"watchers_count":12557,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":952,"mirror_url":null,"open_issues_count":293,"forks":952,"open_issues":293,"watchers":12557,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/io.js/pulls/1804"},"html":{"href":"https://github.com/nodejs/io.js/pull/1804"},"issue":{"href":"https://api.github.com/repos/nodejs/io.js/issues/1804"},"comments":{"href":"https://api.github.com/repos/nodejs/io.js/issues/1804/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/io.js/pulls/1804/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/io.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/io.js/pulls/1804/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/io.js/statuses/c0e7bf2d8ceb65ad3840bc4ebf3cbd9fef8e8c14"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":13,"review_comments":28,"commits":1,"additions":1228,"deletions":276,"changed_files":12}}