{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/spf13/pflag/pulls/33","id":41524489,"html_url":"https://github.com/spf13/pflag/pull/33","diff_url":"https://github.com/spf13/pflag/pull/33.diff","patch_url":"https://github.com/spf13/pflag/pull/33.patch","issue_url":"https://api.github.com/repos/spf13/pflag/issues/33","number":33,"state":"closed","locked":false,"title":"fix mixed named and positional argument parsing","user":{"login":"steveeJ","id":1181362,"avatar_url":"https://avatars.githubusercontent.com/u/1181362?v=3","gravatar_id":"","url":"https://api.github.com/users/steveeJ","html_url":"https://github.com/steveeJ","followers_url":"https://api.github.com/users/steveeJ/followers","following_url":"https://api.github.com/users/steveeJ/following{/other_user}","gists_url":"https://api.github.com/users/steveeJ/gists{/gist_id}","starred_url":"https://api.github.com/users/steveeJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveeJ/subscriptions","organizations_url":"https://api.github.com/users/steveeJ/orgs","repos_url":"https://api.github.com/users/steveeJ/repos","events_url":"https://api.github.com/users/steveeJ/events{/privacy}","received_events_url":"https://api.github.com/users/steveeJ/received_events","type":"User","site_admin":false},"body":"- Prefer a given argument over the default value\r\n- Look ahead to detect given arguments that are not specified with the\r\n  connectint `=` to the argument name\r\n\r\nFixes #32.","created_at":"2015-08-04T00:39:50Z","updated_at":"2015-08-15T19:21:07Z","closed_at":"2015-08-15T19:21:07Z","merged_at":null,"merge_commit_sha":"ce0db98b0fc7da5e88112c8211c34e951779390e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spf13/pflag/pulls/33/commits","review_comments_url":"https://api.github.com/repos/spf13/pflag/pulls/33/comments","review_comment_url":"https://api.github.com/repos/spf13/pflag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/pflag/issues/33/comments","statuses_url":"https://api.github.com/repos/spf13/pflag/statuses/7b64bf62d92a8ab4a0579d26daf316c458467930","head":{"label":"steveeJ:fix-provided-and-defval","ref":"fix-provided-and-defval","sha":"7b64bf62d92a8ab4a0579d26daf316c458467930","user":{"login":"steveeJ","id":1181362,"avatar_url":"https://avatars.githubusercontent.com/u/1181362?v=3","gravatar_id":"","url":"https://api.github.com/users/steveeJ","html_url":"https://github.com/steveeJ","followers_url":"https://api.github.com/users/steveeJ/followers","following_url":"https://api.github.com/users/steveeJ/following{/other_user}","gists_url":"https://api.github.com/users/steveeJ/gists{/gist_id}","starred_url":"https://api.github.com/users/steveeJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveeJ/subscriptions","organizations_url":"https://api.github.com/users/steveeJ/orgs","repos_url":"https://api.github.com/users/steveeJ/repos","events_url":"https://api.github.com/users/steveeJ/events{/privacy}","received_events_url":"https://api.github.com/users/steveeJ/received_events","type":"User","site_admin":false},"repo":{"id":40154265,"name":"pflag","full_name":"steveeJ/pflag","owner":{"login":"steveeJ","id":1181362,"avatar_url":"https://avatars.githubusercontent.com/u/1181362?v=3","gravatar_id":"","url":"https://api.github.com/users/steveeJ","html_url":"https://github.com/steveeJ","followers_url":"https://api.github.com/users/steveeJ/followers","following_url":"https://api.github.com/users/steveeJ/following{/other_user}","gists_url":"https://api.github.com/users/steveeJ/gists{/gist_id}","starred_url":"https://api.github.com/users/steveeJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveeJ/subscriptions","organizations_url":"https://api.github.com/users/steveeJ/orgs","repos_url":"https://api.github.com/users/steveeJ/repos","events_url":"https://api.github.com/users/steveeJ/events{/privacy}","received_events_url":"https://api.github.com/users/steveeJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/steveeJ/pflag","description":"Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.","fork":true,"url":"https://api.github.com/repos/steveeJ/pflag","forks_url":"https://api.github.com/repos/steveeJ/pflag/forks","keys_url":"https://api.github.com/repos/steveeJ/pflag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/steveeJ/pflag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/steveeJ/pflag/teams","hooks_url":"https://api.github.com/repos/steveeJ/pflag/hooks","issue_events_url":"https://api.github.com/repos/steveeJ/pflag/issues/events{/number}","events_url":"https://api.github.com/repos/steveeJ/pflag/events","assignees_url":"https://api.github.com/repos/steveeJ/pflag/assignees{/user}","branches_url":"https://api.github.com/repos/steveeJ/pflag/branches{/branch}","tags_url":"https://api.github.com/repos/steveeJ/pflag/tags","blobs_url":"https://api.github.com/repos/steveeJ/pflag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/steveeJ/pflag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/steveeJ/pflag/git/refs{/sha}","trees_url":"https://api.github.com/repos/steveeJ/pflag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/steveeJ/pflag/statuses/{sha}","languages_url":"https://api.github.com/repos/steveeJ/pflag/languages","stargazers_url":"https://api.github.com/repos/steveeJ/pflag/stargazers","contributors_url":"https://api.github.com/repos/steveeJ/pflag/contributors","subscribers_url":"https://api.github.com/repos/steveeJ/pflag/subscribers","subscription_url":"https://api.github.com/repos/steveeJ/pflag/subscription","commits_url":"https://api.github.com/repos/steveeJ/pflag/commits{/sha}","git_commits_url":"https://api.github.com/repos/steveeJ/pflag/git/commits{/sha}","comments_url":"https://api.github.com/repos/steveeJ/pflag/comments{/number}","issue_comment_url":"https://api.github.com/repos/steveeJ/pflag/issues/comments{/number}","contents_url":"https://api.github.com/repos/steveeJ/pflag/contents/{+path}","compare_url":"https://api.github.com/repos/steveeJ/pflag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/steveeJ/pflag/merges","archive_url":"https://api.github.com/repos/steveeJ/pflag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/steveeJ/pflag/downloads","issues_url":"https://api.github.com/repos/steveeJ/pflag/issues{/number}","pulls_url":"https://api.github.com/repos/steveeJ/pflag/pulls{/number}","milestones_url":"https://api.github.com/repos/steveeJ/pflag/milestones{/number}","notifications_url":"https://api.github.com/repos/steveeJ/pflag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/steveeJ/pflag/labels{/name}","releases_url":"https://api.github.com/repos/steveeJ/pflag/releases{/id}","created_at":"2015-08-04T00:17:42Z","updated_at":"2015-08-04T00:17:42Z","pushed_at":"2015-08-04T10:04:10Z","git_url":"git://github.com/steveeJ/pflag.git","ssh_url":"git@github.com:steveeJ/pflag.git","clone_url":"https://github.com/steveeJ/pflag.git","svn_url":"https://github.com/steveeJ/pflag","homepage":null,"size":226,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"67cbc198fd11dab704b214c1e629a97af392c085","user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"repo":{"id":12488845,"name":"pflag","full_name":"spf13/pflag","owner":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spf13/pflag","description":"Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.","fork":true,"url":"https://api.github.com/repos/spf13/pflag","forks_url":"https://api.github.com/repos/spf13/pflag/forks","keys_url":"https://api.github.com/repos/spf13/pflag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spf13/pflag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spf13/pflag/teams","hooks_url":"https://api.github.com/repos/spf13/pflag/hooks","issue_events_url":"https://api.github.com/repos/spf13/pflag/issues/events{/number}","events_url":"https://api.github.com/repos/spf13/pflag/events","assignees_url":"https://api.github.com/repos/spf13/pflag/assignees{/user}","branches_url":"https://api.github.com/repos/spf13/pflag/branches{/branch}","tags_url":"https://api.github.com/repos/spf13/pflag/tags","blobs_url":"https://api.github.com/repos/spf13/pflag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spf13/pflag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spf13/pflag/git/refs{/sha}","trees_url":"https://api.github.com/repos/spf13/pflag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spf13/pflag/statuses/{sha}","languages_url":"https://api.github.com/repos/spf13/pflag/languages","stargazers_url":"https://api.github.com/repos/spf13/pflag/stargazers","contributors_url":"https://api.github.com/repos/spf13/pflag/contributors","subscribers_url":"https://api.github.com/repos/spf13/pflag/subscribers","subscription_url":"https://api.github.com/repos/spf13/pflag/subscription","commits_url":"https://api.github.com/repos/spf13/pflag/commits{/sha}","git_commits_url":"https://api.github.com/repos/spf13/pflag/git/commits{/sha}","comments_url":"https://api.github.com/repos/spf13/pflag/comments{/number}","issue_comment_url":"https://api.github.com/repos/spf13/pflag/issues/comments{/number}","contents_url":"https://api.github.com/repos/spf13/pflag/contents/{+path}","compare_url":"https://api.github.com/repos/spf13/pflag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spf13/pflag/merges","archive_url":"https://api.github.com/repos/spf13/pflag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spf13/pflag/downloads","issues_url":"https://api.github.com/repos/spf13/pflag/issues{/number}","pulls_url":"https://api.github.com/repos/spf13/pflag/pulls{/number}","milestones_url":"https://api.github.com/repos/spf13/pflag/milestones{/number}","notifications_url":"https://api.github.com/repos/spf13/pflag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spf13/pflag/labels{/name}","releases_url":"https://api.github.com/repos/spf13/pflag/releases{/id}","created_at":"2013-08-30T14:53:31Z","updated_at":"2015-07-27T11:53:31Z","pushed_at":"2015-08-15T19:19:17Z","git_url":"git://github.com/spf13/pflag.git","ssh_url":"git@github.com:spf13/pflag.git","clone_url":"https://github.com/spf13/pflag.git","svn_url":"https://github.com/spf13/pflag","homepage":null,"size":672,"stargazers_count":27,"watchers_count":27,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":4,"forks":20,"open_issues":4,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/pflag/pulls/33"},"html":{"href":"https://github.com/spf13/pflag/pull/33"},"issue":{"href":"https://api.github.com/repos/spf13/pflag/issues/33"},"comments":{"href":"https://api.github.com/repos/spf13/pflag/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/pflag/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/pflag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/pflag/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/pflag/statuses/7b64bf62d92a8ab4a0579d26daf316c458467930"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":10,"review_comments":0,"commits":1,"additions":23,"deletions":5,"changed_files":3}}