{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51","id":41732496,"html_url":"https://github.com/ulrichsg/getopt-php/pull/51","diff_url":"https://github.com/ulrichsg/getopt-php/pull/51.diff","patch_url":"https://github.com/ulrichsg/getopt-php/pull/51.patch","issue_url":"https://api.github.com/repos/ulrichsg/getopt-php/issues/51","number":51,"state":"open","locked":false,"title":"Support collecting all values of valued arguments ","user":{"login":"mbaynton","id":3026002,"avatar_url":"https://avatars.githubusercontent.com/u/3026002?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaynton","html_url":"https://github.com/mbaynton","followers_url":"https://api.github.com/users/mbaynton/followers","following_url":"https://api.github.com/users/mbaynton/following{/other_user}","gists_url":"https://api.github.com/users/mbaynton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaynton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaynton/subscriptions","organizations_url":"https://api.github.com/users/mbaynton/orgs","repos_url":"https://api.github.com/users/mbaynton/repos","events_url":"https://api.github.com/users/mbaynton/events{/privacy}","received_events_url":"https://api.github.com/users/mbaynton/received_events","type":"User","site_admin":false},"body":"Support collecting all values of valued arguments when they are specified multiple times.\r\n\r\nSo, you can make a new Option('a', null, GetOpt::REQUIRED_ARGUMENT | GetOpt::MULTIPLE_ARGUMENT). Then for \r\n\r\n./my-script.php -a str1 -a str2\r\n\r\nthe option value for option a is an array containing all values that were provided.","created_at":"2015-08-05T22:13:45Z","updated_at":"2015-08-05T22:13:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0664f3bcc7abd1ed76a1be49828a7d93167ab560","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51/commits","review_comments_url":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51/comments","review_comment_url":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ulrichsg/getopt-php/issues/51/comments","statuses_url":"https://api.github.com/repos/ulrichsg/getopt-php/statuses/689433174514c7ad774d115bece8fe0255cf02d5","head":{"label":"mbaynton:multi-arg","ref":"multi-arg","sha":"689433174514c7ad774d115bece8fe0255cf02d5","user":{"login":"mbaynton","id":3026002,"avatar_url":"https://avatars.githubusercontent.com/u/3026002?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaynton","html_url":"https://github.com/mbaynton","followers_url":"https://api.github.com/users/mbaynton/followers","following_url":"https://api.github.com/users/mbaynton/following{/other_user}","gists_url":"https://api.github.com/users/mbaynton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaynton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaynton/subscriptions","organizations_url":"https://api.github.com/users/mbaynton/orgs","repos_url":"https://api.github.com/users/mbaynton/repos","events_url":"https://api.github.com/users/mbaynton/events{/privacy}","received_events_url":"https://api.github.com/users/mbaynton/received_events","type":"User","site_admin":false},"repo":{"id":29973584,"name":"getopt-php","full_name":"mbaynton/getopt-php","owner":{"login":"mbaynton","id":3026002,"avatar_url":"https://avatars.githubusercontent.com/u/3026002?v=3","gravatar_id":"","url":"https://api.github.com/users/mbaynton","html_url":"https://github.com/mbaynton","followers_url":"https://api.github.com/users/mbaynton/followers","following_url":"https://api.github.com/users/mbaynton/following{/other_user}","gists_url":"https://api.github.com/users/mbaynton/gists{/gist_id}","starred_url":"https://api.github.com/users/mbaynton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbaynton/subscriptions","organizations_url":"https://api.github.com/users/mbaynton/orgs","repos_url":"https://api.github.com/users/mbaynton/repos","events_url":"https://api.github.com/users/mbaynton/events{/privacy}","received_events_url":"https://api.github.com/users/mbaynton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbaynton/getopt-php","description":"Command-line argument parser for PHP 5.3+","fork":true,"url":"https://api.github.com/repos/mbaynton/getopt-php","forks_url":"https://api.github.com/repos/mbaynton/getopt-php/forks","keys_url":"https://api.github.com/repos/mbaynton/getopt-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbaynton/getopt-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbaynton/getopt-php/teams","hooks_url":"https://api.github.com/repos/mbaynton/getopt-php/hooks","issue_events_url":"https://api.github.com/repos/mbaynton/getopt-php/issues/events{/number}","events_url":"https://api.github.com/repos/mbaynton/getopt-php/events","assignees_url":"https://api.github.com/repos/mbaynton/getopt-php/assignees{/user}","branches_url":"https://api.github.com/repos/mbaynton/getopt-php/branches{/branch}","tags_url":"https://api.github.com/repos/mbaynton/getopt-php/tags","blobs_url":"https://api.github.com/repos/mbaynton/getopt-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbaynton/getopt-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbaynton/getopt-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbaynton/getopt-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbaynton/getopt-php/statuses/{sha}","languages_url":"https://api.github.com/repos/mbaynton/getopt-php/languages","stargazers_url":"https://api.github.com/repos/mbaynton/getopt-php/stargazers","contributors_url":"https://api.github.com/repos/mbaynton/getopt-php/contributors","subscribers_url":"https://api.github.com/repos/mbaynton/getopt-php/subscribers","subscription_url":"https://api.github.com/repos/mbaynton/getopt-php/subscription","commits_url":"https://api.github.com/repos/mbaynton/getopt-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbaynton/getopt-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbaynton/getopt-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbaynton/getopt-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbaynton/getopt-php/contents/{+path}","compare_url":"https://api.github.com/repos/mbaynton/getopt-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbaynton/getopt-php/merges","archive_url":"https://api.github.com/repos/mbaynton/getopt-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbaynton/getopt-php/downloads","issues_url":"https://api.github.com/repos/mbaynton/getopt-php/issues{/number}","pulls_url":"https://api.github.com/repos/mbaynton/getopt-php/pulls{/number}","milestones_url":"https://api.github.com/repos/mbaynton/getopt-php/milestones{/number}","notifications_url":"https://api.github.com/repos/mbaynton/getopt-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbaynton/getopt-php/labels{/name}","releases_url":"https://api.github.com/repos/mbaynton/getopt-php/releases{/id}","created_at":"2015-01-28T15:19:24Z","updated_at":"2015-01-28T15:31:37Z","pushed_at":"2015-08-05T22:09:59Z","git_url":"git://github.com/mbaynton/getopt-php.git","ssh_url":"git@github.com:mbaynton/getopt-php.git","clone_url":"https://github.com/mbaynton/getopt-php.git","svn_url":"https://github.com/mbaynton/getopt-php","homepage":"http://ulrichsg.github.io/getopt-php","size":216,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ulrichsg:master","ref":"master","sha":"4939d6b4ce9b4d638c7549f57c5054b202da63e6","user":{"login":"ulrichsg","id":197901,"avatar_url":"https://avatars.githubusercontent.com/u/197901?v=3","gravatar_id":"","url":"https://api.github.com/users/ulrichsg","html_url":"https://github.com/ulrichsg","followers_url":"https://api.github.com/users/ulrichsg/followers","following_url":"https://api.github.com/users/ulrichsg/following{/other_user}","gists_url":"https://api.github.com/users/ulrichsg/gists{/gist_id}","starred_url":"https://api.github.com/users/ulrichsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulrichsg/subscriptions","organizations_url":"https://api.github.com/users/ulrichsg/orgs","repos_url":"https://api.github.com/users/ulrichsg/repos","events_url":"https://api.github.com/users/ulrichsg/events{/privacy}","received_events_url":"https://api.github.com/users/ulrichsg/received_events","type":"User","site_admin":false},"repo":{"id":2766864,"name":"getopt-php","full_name":"ulrichsg/getopt-php","owner":{"login":"ulrichsg","id":197901,"avatar_url":"https://avatars.githubusercontent.com/u/197901?v=3","gravatar_id":"","url":"https://api.github.com/users/ulrichsg","html_url":"https://github.com/ulrichsg","followers_url":"https://api.github.com/users/ulrichsg/followers","following_url":"https://api.github.com/users/ulrichsg/following{/other_user}","gists_url":"https://api.github.com/users/ulrichsg/gists{/gist_id}","starred_url":"https://api.github.com/users/ulrichsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulrichsg/subscriptions","organizations_url":"https://api.github.com/users/ulrichsg/orgs","repos_url":"https://api.github.com/users/ulrichsg/repos","events_url":"https://api.github.com/users/ulrichsg/events{/privacy}","received_events_url":"https://api.github.com/users/ulrichsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ulrichsg/getopt-php","description":"Command-line argument parser for PHP 5.3+","fork":false,"url":"https://api.github.com/repos/ulrichsg/getopt-php","forks_url":"https://api.github.com/repos/ulrichsg/getopt-php/forks","keys_url":"https://api.github.com/repos/ulrichsg/getopt-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulrichsg/getopt-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulrichsg/getopt-php/teams","hooks_url":"https://api.github.com/repos/ulrichsg/getopt-php/hooks","issue_events_url":"https://api.github.com/repos/ulrichsg/getopt-php/issues/events{/number}","events_url":"https://api.github.com/repos/ulrichsg/getopt-php/events","assignees_url":"https://api.github.com/repos/ulrichsg/getopt-php/assignees{/user}","branches_url":"https://api.github.com/repos/ulrichsg/getopt-php/branches{/branch}","tags_url":"https://api.github.com/repos/ulrichsg/getopt-php/tags","blobs_url":"https://api.github.com/repos/ulrichsg/getopt-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulrichsg/getopt-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulrichsg/getopt-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulrichsg/getopt-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulrichsg/getopt-php/statuses/{sha}","languages_url":"https://api.github.com/repos/ulrichsg/getopt-php/languages","stargazers_url":"https://api.github.com/repos/ulrichsg/getopt-php/stargazers","contributors_url":"https://api.github.com/repos/ulrichsg/getopt-php/contributors","subscribers_url":"https://api.github.com/repos/ulrichsg/getopt-php/subscribers","subscription_url":"https://api.github.com/repos/ulrichsg/getopt-php/subscription","commits_url":"https://api.github.com/repos/ulrichsg/getopt-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulrichsg/getopt-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulrichsg/getopt-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulrichsg/getopt-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulrichsg/getopt-php/contents/{+path}","compare_url":"https://api.github.com/repos/ulrichsg/getopt-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulrichsg/getopt-php/merges","archive_url":"https://api.github.com/repos/ulrichsg/getopt-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulrichsg/getopt-php/downloads","issues_url":"https://api.github.com/repos/ulrichsg/getopt-php/issues{/number}","pulls_url":"https://api.github.com/repos/ulrichsg/getopt-php/pulls{/number}","milestones_url":"https://api.github.com/repos/ulrichsg/getopt-php/milestones{/number}","notifications_url":"https://api.github.com/repos/ulrichsg/getopt-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulrichsg/getopt-php/labels{/name}","releases_url":"https://api.github.com/repos/ulrichsg/getopt-php/releases{/id}","created_at":"2011-11-13T15:25:30Z","updated_at":"2015-07-23T17:15:17Z","pushed_at":"2015-08-05T22:13:45Z","git_url":"git://github.com/ulrichsg/getopt-php.git","ssh_url":"git@github.com:ulrichsg/getopt-php.git","clone_url":"https://github.com/ulrichsg/getopt-php.git","svn_url":"https://github.com/ulrichsg/getopt-php","homepage":"http://ulrichsg.github.io/getopt-php","size":613,"stargazers_count":87,"watchers_count":87,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":11,"forks":24,"open_issues":11,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51"},"html":{"href":"https://github.com/ulrichsg/getopt-php/pull/51"},"issue":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/issues/51"},"comments":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/ulrichsg/getopt-php/statuses/689433174514c7ad774d115bece8fe0255cf02d5"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":10,"changed_files":5}}