{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/sailormoon/flags/pulls/6","id":109711612,"html_url":"https://github.com/sailormoon/flags/pull/6","diff_url":"https://github.com/sailormoon/flags/pull/6.diff","patch_url":"https://github.com/sailormoon/flags/pull/6.patch","issue_url":"https://api.github.com/repos/sailormoon/flags/issues/6","number":6,"state":"open","locked":false,"title":"Allow values that begin with '-' (process them as both)","user":{"login":"spewspews","id":11407693,"avatar_url":"https://avatars1.githubusercontent.com/u/11407693?v=3","gravatar_id":"","url":"https://api.github.com/users/spewspews","html_url":"https://github.com/spewspews","followers_url":"https://api.github.com/users/spewspews/followers","following_url":"https://api.github.com/users/spewspews/following{/other_user}","gists_url":"https://api.github.com/users/spewspews/gists{/gist_id}","starred_url":"https://api.github.com/users/spewspews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spewspews/subscriptions","organizations_url":"https://api.github.com/users/spewspews/orgs","repos_url":"https://api.github.com/users/spewspews/repos","events_url":"https://api.github.com/users/spewspews/events{/privacy}","received_events_url":"https://api.github.com/users/spewspews/received_events","type":"User","site_admin":false},"body":"I have the need to pass negative integer values to an option in an application, hence this change.\r\n\r\n`foo -bar -10`\r\n\r\nwill set the bar option to negative ten.\r\n\r\n`foo -bar -10 -baz`\r\n\r\nwill set the bar option to negative ten and create a -10 option that is set \"-baz\". It's a little weird...\r\n\r\nThis won't cause bugs with boolean options, since no value accepted as false starts with '-'.","created_at":"2017-03-08T14:57:01Z","updated_at":"2017-03-08T14:57:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sailormoon/flags/pulls/6/commits","review_comments_url":"https://api.github.com/repos/sailormoon/flags/pulls/6/comments","review_comment_url":"https://api.github.com/repos/sailormoon/flags/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sailormoon/flags/issues/6/comments","statuses_url":"https://api.github.com/repos/sailormoon/flags/statuses/647679429d4b614042fc2f52b499f6f6a822798f","head":{"label":"spewspews:master","ref":"master","sha":"647679429d4b614042fc2f52b499f6f6a822798f","user":{"login":"spewspews","id":11407693,"avatar_url":"https://avatars1.githubusercontent.com/u/11407693?v=3","gravatar_id":"","url":"https://api.github.com/users/spewspews","html_url":"https://github.com/spewspews","followers_url":"https://api.github.com/users/spewspews/followers","following_url":"https://api.github.com/users/spewspews/following{/other_user}","gists_url":"https://api.github.com/users/spewspews/gists{/gist_id}","starred_url":"https://api.github.com/users/spewspews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spewspews/subscriptions","organizations_url":"https://api.github.com/users/spewspews/orgs","repos_url":"https://api.github.com/users/spewspews/repos","events_url":"https://api.github.com/users/spewspews/events{/privacy}","received_events_url":"https://api.github.com/users/spewspews/received_events","type":"User","site_admin":false},"repo":{"id":84331250,"name":"flags","full_name":"spewspews/flags","owner":{"login":"spewspews","id":11407693,"avatar_url":"https://avatars1.githubusercontent.com/u/11407693?v=3","gravatar_id":"","url":"https://api.github.com/users/spewspews","html_url":"https://github.com/spewspews","followers_url":"https://api.github.com/users/spewspews/followers","following_url":"https://api.github.com/users/spewspews/following{/other_user}","gists_url":"https://api.github.com/users/spewspews/gists{/gist_id}","starred_url":"https://api.github.com/users/spewspews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spewspews/subscriptions","organizations_url":"https://api.github.com/users/spewspews/orgs","repos_url":"https://api.github.com/users/spewspews/repos","events_url":"https://api.github.com/users/spewspews/events{/privacy}","received_events_url":"https://api.github.com/users/spewspews/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spewspews/flags","description":"⛳ Simple, extensible, header-only C++17 argument parser released into the public domain.","fork":true,"url":"https://api.github.com/repos/spewspews/flags","forks_url":"https://api.github.com/repos/spewspews/flags/forks","keys_url":"https://api.github.com/repos/spewspews/flags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spewspews/flags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spewspews/flags/teams","hooks_url":"https://api.github.com/repos/spewspews/flags/hooks","issue_events_url":"https://api.github.com/repos/spewspews/flags/issues/events{/number}","events_url":"https://api.github.com/repos/spewspews/flags/events","assignees_url":"https://api.github.com/repos/spewspews/flags/assignees{/user}","branches_url":"https://api.github.com/repos/spewspews/flags/branches{/branch}","tags_url":"https://api.github.com/repos/spewspews/flags/tags","blobs_url":"https://api.github.com/repos/spewspews/flags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spewspews/flags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spewspews/flags/git/refs{/sha}","trees_url":"https://api.github.com/repos/spewspews/flags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spewspews/flags/statuses/{sha}","languages_url":"https://api.github.com/repos/spewspews/flags/languages","stargazers_url":"https://api.github.com/repos/spewspews/flags/stargazers","contributors_url":"https://api.github.com/repos/spewspews/flags/contributors","subscribers_url":"https://api.github.com/repos/spewspews/flags/subscribers","subscription_url":"https://api.github.com/repos/spewspews/flags/subscription","commits_url":"https://api.github.com/repos/spewspews/flags/commits{/sha}","git_commits_url":"https://api.github.com/repos/spewspews/flags/git/commits{/sha}","comments_url":"https://api.github.com/repos/spewspews/flags/comments{/number}","issue_comment_url":"https://api.github.com/repos/spewspews/flags/issues/comments{/number}","contents_url":"https://api.github.com/repos/spewspews/flags/contents/{+path}","compare_url":"https://api.github.com/repos/spewspews/flags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spewspews/flags/merges","archive_url":"https://api.github.com/repos/spewspews/flags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spewspews/flags/downloads","issues_url":"https://api.github.com/repos/spewspews/flags/issues{/number}","pulls_url":"https://api.github.com/repos/spewspews/flags/pulls{/number}","milestones_url":"https://api.github.com/repos/spewspews/flags/milestones{/number}","notifications_url":"https://api.github.com/repos/spewspews/flags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spewspews/flags/labels{/name}","releases_url":"https://api.github.com/repos/spewspews/flags/releases{/id}","deployments_url":"https://api.github.com/repos/spewspews/flags/deployments","created_at":"2017-03-08T14:47:54Z","updated_at":"2017-03-08T14:47:56Z","pushed_at":"2017-03-08T14:52:34Z","git_url":"git://github.com/spewspews/flags.git","ssh_url":"git@github.com:spewspews/flags.git","clone_url":"https://github.com/spewspews/flags.git","svn_url":"https://github.com/spewspews/flags","homepage":"","size":18,"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":"sailormoon:master","ref":"master","sha":"f984ed7a2fccf966578b140e7fbfd52c605eeb26","user":{"login":"sailormoon","id":13010263,"avatar_url":"https://avatars2.githubusercontent.com/u/13010263?v=3","gravatar_id":"","url":"https://api.github.com/users/sailormoon","html_url":"https://github.com/sailormoon","followers_url":"https://api.github.com/users/sailormoon/followers","following_url":"https://api.github.com/users/sailormoon/following{/other_user}","gists_url":"https://api.github.com/users/sailormoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sailormoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sailormoon/subscriptions","organizations_url":"https://api.github.com/users/sailormoon/orgs","repos_url":"https://api.github.com/users/sailormoon/repos","events_url":"https://api.github.com/users/sailormoon/events{/privacy}","received_events_url":"https://api.github.com/users/sailormoon/received_events","type":"User","site_admin":false},"repo":{"id":73530193,"name":"flags","full_name":"sailormoon/flags","owner":{"login":"sailormoon","id":13010263,"avatar_url":"https://avatars2.githubusercontent.com/u/13010263?v=3","gravatar_id":"","url":"https://api.github.com/users/sailormoon","html_url":"https://github.com/sailormoon","followers_url":"https://api.github.com/users/sailormoon/followers","following_url":"https://api.github.com/users/sailormoon/following{/other_user}","gists_url":"https://api.github.com/users/sailormoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sailormoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sailormoon/subscriptions","organizations_url":"https://api.github.com/users/sailormoon/orgs","repos_url":"https://api.github.com/users/sailormoon/repos","events_url":"https://api.github.com/users/sailormoon/events{/privacy}","received_events_url":"https://api.github.com/users/sailormoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sailormoon/flags","description":"⛳ Simple, extensible, header-only C++17 argument parser released into the public domain.","fork":false,"url":"https://api.github.com/repos/sailormoon/flags","forks_url":"https://api.github.com/repos/sailormoon/flags/forks","keys_url":"https://api.github.com/repos/sailormoon/flags/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sailormoon/flags/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sailormoon/flags/teams","hooks_url":"https://api.github.com/repos/sailormoon/flags/hooks","issue_events_url":"https://api.github.com/repos/sailormoon/flags/issues/events{/number}","events_url":"https://api.github.com/repos/sailormoon/flags/events","assignees_url":"https://api.github.com/repos/sailormoon/flags/assignees{/user}","branches_url":"https://api.github.com/repos/sailormoon/flags/branches{/branch}","tags_url":"https://api.github.com/repos/sailormoon/flags/tags","blobs_url":"https://api.github.com/repos/sailormoon/flags/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sailormoon/flags/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sailormoon/flags/git/refs{/sha}","trees_url":"https://api.github.com/repos/sailormoon/flags/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sailormoon/flags/statuses/{sha}","languages_url":"https://api.github.com/repos/sailormoon/flags/languages","stargazers_url":"https://api.github.com/repos/sailormoon/flags/stargazers","contributors_url":"https://api.github.com/repos/sailormoon/flags/contributors","subscribers_url":"https://api.github.com/repos/sailormoon/flags/subscribers","subscription_url":"https://api.github.com/repos/sailormoon/flags/subscription","commits_url":"https://api.github.com/repos/sailormoon/flags/commits{/sha}","git_commits_url":"https://api.github.com/repos/sailormoon/flags/git/commits{/sha}","comments_url":"https://api.github.com/repos/sailormoon/flags/comments{/number}","issue_comment_url":"https://api.github.com/repos/sailormoon/flags/issues/comments{/number}","contents_url":"https://api.github.com/repos/sailormoon/flags/contents/{+path}","compare_url":"https://api.github.com/repos/sailormoon/flags/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sailormoon/flags/merges","archive_url":"https://api.github.com/repos/sailormoon/flags/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sailormoon/flags/downloads","issues_url":"https://api.github.com/repos/sailormoon/flags/issues{/number}","pulls_url":"https://api.github.com/repos/sailormoon/flags/pulls{/number}","milestones_url":"https://api.github.com/repos/sailormoon/flags/milestones{/number}","notifications_url":"https://api.github.com/repos/sailormoon/flags/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sailormoon/flags/labels{/name}","releases_url":"https://api.github.com/repos/sailormoon/flags/releases{/id}","deployments_url":"https://api.github.com/repos/sailormoon/flags/deployments","created_at":"2016-11-12T03:53:52Z","updated_at":"2017-03-07T15:33:31Z","pushed_at":"2017-02-22T03:46:17Z","git_url":"git://github.com/sailormoon/flags.git","ssh_url":"git@github.com:sailormoon/flags.git","clone_url":"https://github.com/sailormoon/flags.git","svn_url":"https://github.com/sailormoon/flags","homepage":"","size":18,"stargazers_count":91,"watchers_count":91,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":91,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sailormoon/flags/pulls/6"},"html":{"href":"https://github.com/sailormoon/flags/pull/6"},"issue":{"href":"https://api.github.com/repos/sailormoon/flags/issues/6"},"comments":{"href":"https://api.github.com/repos/sailormoon/flags/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/sailormoon/flags/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/sailormoon/flags/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sailormoon/flags/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/sailormoon/flags/statuses/647679429d4b614042fc2f52b499f6f6a822798f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"spewspews"}}