{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/martinh/libconfuse/pulls/41","id":48986750,"html_url":"https://github.com/martinh/libconfuse/pull/41","diff_url":"https://github.com/martinh/libconfuse/pull/41.diff","patch_url":"https://github.com/martinh/libconfuse/pull/41.patch","issue_url":"https://api.github.com/repos/martinh/libconfuse/issues/41","number":41,"state":"open","locked":false,"title":"Silence 'no such option' when CFGF_IGNORE_UNKNOWN is set.","user":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"body":"While manually testing libConfuse I found that it complained about\r\nunknown options even though CFGF_IGNORE_UNKNOWN was set.\r\n\r\nThis patch complements commit 0255c50 with an extra check for the\r\nCFGF_IGNORE_UNKNOWN flag in cfg_getopt().\r\n\r\nSigned-off-by: Joachim Nilsson <troglobit@gmail.com>","created_at":"2015-10-28T10:22:59Z","updated_at":"2015-10-28T10:22:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/martinh/libconfuse/pulls/41/commits","review_comments_url":"https://api.github.com/repos/martinh/libconfuse/pulls/41/comments","review_comment_url":"https://api.github.com/repos/martinh/libconfuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/martinh/libconfuse/issues/41/comments","statuses_url":"https://api.github.com/repos/martinh/libconfuse/statuses/1109334d2f4d09f7c421c999268577cb6108f129","head":{"label":"troglobit:silence-parser-on-ignore-unknown","ref":"silence-parser-on-ignore-unknown","sha":"1109334d2f4d09f7c421c999268577cb6108f129","user":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"repo":{"id":17090555,"name":"libconfuse","full_name":"troglobit/libconfuse","owner":{"login":"troglobit","id":183517,"avatar_url":"https://avatars.githubusercontent.com/u/183517?v=3","gravatar_id":"","url":"https://api.github.com/users/troglobit","html_url":"https://github.com/troglobit","followers_url":"https://api.github.com/users/troglobit/followers","following_url":"https://api.github.com/users/troglobit/following{/other_user}","gists_url":"https://api.github.com/users/troglobit/gists{/gist_id}","starred_url":"https://api.github.com/users/troglobit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troglobit/subscriptions","organizations_url":"https://api.github.com/users/troglobit/orgs","repos_url":"https://api.github.com/users/troglobit/repos","events_url":"https://api.github.com/users/troglobit/events{/privacy}","received_events_url":"https://api.github.com/users/troglobit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/troglobit/libconfuse","description":"Small configuration file parser library for C.  ","fork":true,"url":"https://api.github.com/repos/troglobit/libconfuse","forks_url":"https://api.github.com/repos/troglobit/libconfuse/forks","keys_url":"https://api.github.com/repos/troglobit/libconfuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/troglobit/libconfuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/troglobit/libconfuse/teams","hooks_url":"https://api.github.com/repos/troglobit/libconfuse/hooks","issue_events_url":"https://api.github.com/repos/troglobit/libconfuse/issues/events{/number}","events_url":"https://api.github.com/repos/troglobit/libconfuse/events","assignees_url":"https://api.github.com/repos/troglobit/libconfuse/assignees{/user}","branches_url":"https://api.github.com/repos/troglobit/libconfuse/branches{/branch}","tags_url":"https://api.github.com/repos/troglobit/libconfuse/tags","blobs_url":"https://api.github.com/repos/troglobit/libconfuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/troglobit/libconfuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/troglobit/libconfuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/troglobit/libconfuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/troglobit/libconfuse/statuses/{sha}","languages_url":"https://api.github.com/repos/troglobit/libconfuse/languages","stargazers_url":"https://api.github.com/repos/troglobit/libconfuse/stargazers","contributors_url":"https://api.github.com/repos/troglobit/libconfuse/contributors","subscribers_url":"https://api.github.com/repos/troglobit/libconfuse/subscribers","subscription_url":"https://api.github.com/repos/troglobit/libconfuse/subscription","commits_url":"https://api.github.com/repos/troglobit/libconfuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/troglobit/libconfuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/troglobit/libconfuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/troglobit/libconfuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/troglobit/libconfuse/contents/{+path}","compare_url":"https://api.github.com/repos/troglobit/libconfuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/troglobit/libconfuse/merges","archive_url":"https://api.github.com/repos/troglobit/libconfuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/troglobit/libconfuse/downloads","issues_url":"https://api.github.com/repos/troglobit/libconfuse/issues{/number}","pulls_url":"https://api.github.com/repos/troglobit/libconfuse/pulls{/number}","milestones_url":"https://api.github.com/repos/troglobit/libconfuse/milestones{/number}","notifications_url":"https://api.github.com/repos/troglobit/libconfuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/troglobit/libconfuse/labels{/name}","releases_url":"https://api.github.com/repos/troglobit/libconfuse/releases{/id}","created_at":"2014-02-22T17:56:41Z","updated_at":"2015-10-15T06:21:26Z","pushed_at":"2015-10-28T10:22:18Z","git_url":"git://github.com/troglobit/libconfuse.git","ssh_url":"git@github.com:troglobit/libconfuse.git","clone_url":"https://github.com/troglobit/libconfuse.git","svn_url":"https://github.com/troglobit/libconfuse","homepage":"https://github.com/martinh/libconfuse","size":825,"stargazers_count":0,"watchers_count":0,"language":"C","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":"martinh:master","ref":"master","sha":"6e295d4d63f8751db21131a4bd3fc150ea1d2bb0","user":{"login":"martinh","id":59324,"avatar_url":"https://avatars.githubusercontent.com/u/59324?v=3","gravatar_id":"","url":"https://api.github.com/users/martinh","html_url":"https://github.com/martinh","followers_url":"https://api.github.com/users/martinh/followers","following_url":"https://api.github.com/users/martinh/following{/other_user}","gists_url":"https://api.github.com/users/martinh/gists{/gist_id}","starred_url":"https://api.github.com/users/martinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinh/subscriptions","organizations_url":"https://api.github.com/users/martinh/orgs","repos_url":"https://api.github.com/users/martinh/repos","events_url":"https://api.github.com/users/martinh/events{/privacy}","received_events_url":"https://api.github.com/users/martinh/received_events","type":"User","site_admin":false},"repo":{"id":15790285,"name":"libconfuse","full_name":"martinh/libconfuse","owner":{"login":"martinh","id":59324,"avatar_url":"https://avatars.githubusercontent.com/u/59324?v=3","gravatar_id":"","url":"https://api.github.com/users/martinh","html_url":"https://github.com/martinh","followers_url":"https://api.github.com/users/martinh/followers","following_url":"https://api.github.com/users/martinh/following{/other_user}","gists_url":"https://api.github.com/users/martinh/gists{/gist_id}","starred_url":"https://api.github.com/users/martinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinh/subscriptions","organizations_url":"https://api.github.com/users/martinh/orgs","repos_url":"https://api.github.com/users/martinh/repos","events_url":"https://api.github.com/users/martinh/events{/privacy}","received_events_url":"https://api.github.com/users/martinh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martinh/libconfuse","description":"Small configuration file parser library for C.","fork":false,"url":"https://api.github.com/repos/martinh/libconfuse","forks_url":"https://api.github.com/repos/martinh/libconfuse/forks","keys_url":"https://api.github.com/repos/martinh/libconfuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinh/libconfuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinh/libconfuse/teams","hooks_url":"https://api.github.com/repos/martinh/libconfuse/hooks","issue_events_url":"https://api.github.com/repos/martinh/libconfuse/issues/events{/number}","events_url":"https://api.github.com/repos/martinh/libconfuse/events","assignees_url":"https://api.github.com/repos/martinh/libconfuse/assignees{/user}","branches_url":"https://api.github.com/repos/martinh/libconfuse/branches{/branch}","tags_url":"https://api.github.com/repos/martinh/libconfuse/tags","blobs_url":"https://api.github.com/repos/martinh/libconfuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinh/libconfuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinh/libconfuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinh/libconfuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinh/libconfuse/statuses/{sha}","languages_url":"https://api.github.com/repos/martinh/libconfuse/languages","stargazers_url":"https://api.github.com/repos/martinh/libconfuse/stargazers","contributors_url":"https://api.github.com/repos/martinh/libconfuse/contributors","subscribers_url":"https://api.github.com/repos/martinh/libconfuse/subscribers","subscription_url":"https://api.github.com/repos/martinh/libconfuse/subscription","commits_url":"https://api.github.com/repos/martinh/libconfuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinh/libconfuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinh/libconfuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinh/libconfuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinh/libconfuse/contents/{+path}","compare_url":"https://api.github.com/repos/martinh/libconfuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinh/libconfuse/merges","archive_url":"https://api.github.com/repos/martinh/libconfuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinh/libconfuse/downloads","issues_url":"https://api.github.com/repos/martinh/libconfuse/issues{/number}","pulls_url":"https://api.github.com/repos/martinh/libconfuse/pulls{/number}","milestones_url":"https://api.github.com/repos/martinh/libconfuse/milestones{/number}","notifications_url":"https://api.github.com/repos/martinh/libconfuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinh/libconfuse/labels{/name}","releases_url":"https://api.github.com/repos/martinh/libconfuse/releases{/id}","created_at":"2014-01-10T06:34:13Z","updated_at":"2015-10-23T00:37:41Z","pushed_at":"2015-10-28T01:07:00Z","git_url":"git://github.com/martinh/libconfuse.git","ssh_url":"git@github.com:martinh/libconfuse.git","clone_url":"https://github.com/martinh/libconfuse.git","svn_url":"https://github.com/martinh/libconfuse","homepage":null,"size":1367,"stargazers_count":38,"watchers_count":38,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":10,"forks":18,"open_issues":10,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/martinh/libconfuse/pulls/41"},"html":{"href":"https://github.com/martinh/libconfuse/pull/41"},"issue":{"href":"https://api.github.com/repos/martinh/libconfuse/issues/41"},"comments":{"href":"https://api.github.com/repos/martinh/libconfuse/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/martinh/libconfuse/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/martinh/libconfuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/martinh/libconfuse/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/martinh/libconfuse/statuses/1109334d2f4d09f7c421c999268577cb6108f129"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":6,"changed_files":1}}