{"action":"created","comment":{"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/comments/222746260","pull_request_review_id":161708284,"id":222746260,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjc0NjI2MA==","diff_hunk":"@@ -176,5 +176,46 @@ public void HelpOptionIsInherited()\n             Assert.True(app.OptionHelp.HasValue());\n             Assert.Contains(\"Usage: lvl1 lvl2 [arguments] [options]\", outData);\n         }\n+\n+        [Theory]\n+        [InlineData(new[] { \"get\", \"--help\" }, 0, \"Gets a list of things.\")]\n+        [InlineData(new[] { \"get\", \"-h\" }, 0, \"Gets a list of things.\")]\n+        [InlineData(new[] { \"get\", \"-?\" }, 0, \"Gets a list of things.\")]","path":"test/CommandLineUtils.Tests/HelpOptionAttributeTests.cs","position":null,"original_position":17,"commit_id":"31b91a8b759cb199fd56238657879ff0737230d8","original_commit_id":"c6aa71561f4a816da0823ca342b747ce505828b5","user":{"login":"handcraftedsource","id":28440782,"node_id":"MDQ6VXNlcjI4NDQwNzgy","avatar_url":"https://avatars3.githubusercontent.com/u/28440782?v=4","gravatar_id":"","url":"https://api.github.com/users/handcraftedsource","html_url":"https://github.com/handcraftedsource","followers_url":"https://api.github.com/users/handcraftedsource/followers","following_url":"https://api.github.com/users/handcraftedsource/following{/other_user}","gists_url":"https://api.github.com/users/handcraftedsource/gists{/gist_id}","starred_url":"https://api.github.com/users/handcraftedsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handcraftedsource/subscriptions","organizations_url":"https://api.github.com/users/handcraftedsource/orgs","repos_url":"https://api.github.com/users/handcraftedsource/repos","events_url":"https://api.github.com/users/handcraftedsource/events{/privacy}","received_events_url":"https://api.github.com/users/handcraftedsource/received_events","type":"User","site_admin":false},"body":"Fixed","created_at":"2018-10-04T16:46:13Z","updated_at":"2018-10-04T16:46:13Z","html_url":"https://github.com/natemcmaster/CommandLineUtils/pull/158#discussion_r222746260","pull_request_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/comments/222746260"},"html":{"href":"https://github.com/natemcmaster/CommandLineUtils/pull/158#discussion_r222746260"},"pull_request":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158"}},"in_reply_to_id":222511127},"pull_request":{"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158","id":220132603,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTMyNjAz","html_url":"https://github.com/natemcmaster/CommandLineUtils/pull/158","diff_url":"https://github.com/natemcmaster/CommandLineUtils/pull/158.diff","patch_url":"https://github.com/natemcmaster/CommandLineUtils/pull/158.patch","issue_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/158","number":158,"state":"open","locked":false,"title":"Handle nested HelpOptions with inheritance","user":{"login":"handcraftedsource","id":28440782,"node_id":"MDQ6VXNlcjI4NDQwNzgy","avatar_url":"https://avatars3.githubusercontent.com/u/28440782?v=4","gravatar_id":"","url":"https://api.github.com/users/handcraftedsource","html_url":"https://github.com/handcraftedsource","followers_url":"https://api.github.com/users/handcraftedsource/followers","following_url":"https://api.github.com/users/handcraftedsource/following{/other_user}","gists_url":"https://api.github.com/users/handcraftedsource/gists{/gist_id}","starred_url":"https://api.github.com/users/handcraftedsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handcraftedsource/subscriptions","organizations_url":"https://api.github.com/users/handcraftedsource/orgs","repos_url":"https://api.github.com/users/handcraftedsource/repos","events_url":"https://api.github.com/users/handcraftedsource/events{/privacy}","received_events_url":"https://api.github.com/users/handcraftedsource/received_events","type":"User","site_admin":false},"body":"When the `HelpOption` with  is set with `inherited = true` and nested subcommands set the `HelpOption` too then the `HelpOption` nearest to the selected command is used.\r\n\r\nExtracted the search for options by `ShortName`, `SymbolName`, `LongName` into a new method called `FindOption`.\r\n\r\nAdded Unit Tests for each branch that calls the `FindOption` method.\r\n\r\nFixes #86 ","created_at":"2018-10-03T18:18:39Z","updated_at":"2018-10-04T16:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e2366379b40d52aca3dd42a253a33d438117600","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158/commits","review_comments_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158/comments","review_comment_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/158/comments","statuses_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/statuses/31b91a8b759cb199fd56238657879ff0737230d8","head":{"label":"handcraftedsource:bugfix/86-subcommand-help-flags-exception","ref":"bugfix/86-subcommand-help-flags-exception","sha":"31b91a8b759cb199fd56238657879ff0737230d8","user":{"login":"handcraftedsource","id":28440782,"node_id":"MDQ6VXNlcjI4NDQwNzgy","avatar_url":"https://avatars3.githubusercontent.com/u/28440782?v=4","gravatar_id":"","url":"https://api.github.com/users/handcraftedsource","html_url":"https://github.com/handcraftedsource","followers_url":"https://api.github.com/users/handcraftedsource/followers","following_url":"https://api.github.com/users/handcraftedsource/following{/other_user}","gists_url":"https://api.github.com/users/handcraftedsource/gists{/gist_id}","starred_url":"https://api.github.com/users/handcraftedsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handcraftedsource/subscriptions","organizations_url":"https://api.github.com/users/handcraftedsource/orgs","repos_url":"https://api.github.com/users/handcraftedsource/repos","events_url":"https://api.github.com/users/handcraftedsource/events{/privacy}","received_events_url":"https://api.github.com/users/handcraftedsource/received_events","type":"User","site_admin":false},"repo":{"id":151439554,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE0Mzk1NTQ=","name":"CommandLineUtils","full_name":"handcraftedsource/CommandLineUtils","private":false,"owner":{"login":"handcraftedsource","id":28440782,"node_id":"MDQ6VXNlcjI4NDQwNzgy","avatar_url":"https://avatars3.githubusercontent.com/u/28440782?v=4","gravatar_id":"","url":"https://api.github.com/users/handcraftedsource","html_url":"https://github.com/handcraftedsource","followers_url":"https://api.github.com/users/handcraftedsource/followers","following_url":"https://api.github.com/users/handcraftedsource/following{/other_user}","gists_url":"https://api.github.com/users/handcraftedsource/gists{/gist_id}","starred_url":"https://api.github.com/users/handcraftedsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handcraftedsource/subscriptions","organizations_url":"https://api.github.com/users/handcraftedsource/orgs","repos_url":"https://api.github.com/users/handcraftedsource/repos","events_url":"https://api.github.com/users/handcraftedsource/events{/privacy}","received_events_url":"https://api.github.com/users/handcraftedsource/received_events","type":"User","site_admin":false},"html_url":"https://github.com/handcraftedsource/CommandLineUtils","description":"Command line parsing and utilities for .NET Core and .NET Framework.","fork":true,"url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils","forks_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/forks","keys_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/teams","hooks_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/hooks","issue_events_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/issues/events{/number}","events_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/events","assignees_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/assignees{/user}","branches_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/branches{/branch}","tags_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/tags","blobs_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/git/refs{/sha}","trees_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/statuses/{sha}","languages_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/languages","stargazers_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/stargazers","contributors_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/contributors","subscribers_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/subscribers","subscription_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/subscription","commits_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/commits{/sha}","git_commits_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/git/commits{/sha}","comments_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/comments{/number}","issue_comment_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/issues/comments{/number}","contents_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/contents/{+path}","compare_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/merges","archive_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/downloads","issues_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/issues{/number}","pulls_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/pulls{/number}","milestones_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/milestones{/number}","notifications_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/labels{/name}","releases_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/releases{/id}","deployments_url":"https://api.github.com/repos/handcraftedsource/CommandLineUtils/deployments","created_at":"2018-10-03T15:54:36Z","updated_at":"2018-10-03T15:54:39Z","pushed_at":"2018-10-04T16:44:26Z","git_url":"git://github.com/handcraftedsource/CommandLineUtils.git","ssh_url":"git@github.com:handcraftedsource/CommandLineUtils.git","clone_url":"https://github.com/handcraftedsource/CommandLineUtils.git","svn_url":"https://github.com/handcraftedsource/CommandLineUtils","homepage":"https://natemcmaster.github.io/CommandLineUtils/","size":2650,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"natemcmaster:master","ref":"master","sha":"c9925024efa835306ca35f5b732ca18a773d0b81","user":{"login":"natemcmaster","id":2696087,"node_id":"MDQ6VXNlcjI2OTYwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"repo":{"id":100407304,"node_id":"MDEwOlJlcG9zaXRvcnkxMDA0MDczMDQ=","name":"CommandLineUtils","full_name":"natemcmaster/CommandLineUtils","private":false,"owner":{"login":"natemcmaster","id":2696087,"node_id":"MDQ6VXNlcjI2OTYwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"html_url":"https://github.com/natemcmaster/CommandLineUtils","description":"Command line parsing and utilities for .NET Core and .NET Framework.","fork":false,"url":"https://api.github.com/repos/natemcmaster/CommandLineUtils","forks_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/forks","keys_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/teams","hooks_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/hooks","issue_events_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/events{/number}","events_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/events","assignees_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/assignees{/user}","branches_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/branches{/branch}","tags_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/tags","blobs_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/git/refs{/sha}","trees_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/statuses/{sha}","languages_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/languages","stargazers_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/stargazers","contributors_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/contributors","subscribers_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/subscribers","subscription_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/subscription","commits_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/commits{/sha}","git_commits_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/git/commits{/sha}","comments_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/comments{/number}","issue_comment_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/comments{/number}","contents_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/contents/{+path}","compare_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/merges","archive_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/downloads","issues_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues{/number}","pulls_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls{/number}","milestones_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/milestones{/number}","notifications_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/labels{/name}","releases_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/releases{/id}","deployments_url":"https://api.github.com/repos/natemcmaster/CommandLineUtils/deployments","created_at":"2017-08-15T18:32:24Z","updated_at":"2018-10-03T14:34:35Z","pushed_at":"2018-10-04T16:44:28Z","git_url":"git://github.com/natemcmaster/CommandLineUtils.git","ssh_url":"git@github.com:natemcmaster/CommandLineUtils.git","clone_url":"https://github.com/natemcmaster/CommandLineUtils.git","svn_url":"https://github.com/natemcmaster/CommandLineUtils","homepage":"https://natemcmaster.github.io/CommandLineUtils/","size":2634,"stargazers_count":507,"watchers_count":507,"language":"C#","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":66,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":66,"open_issues":23,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158"},"html":{"href":"https://github.com/natemcmaster/CommandLineUtils/pull/158"},"issue":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/158"},"comments":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/natemcmaster/CommandLineUtils/statuses/31b91a8b759cb199fd56238657879ff0737230d8"}},"author_association":"NONE"}}
{"actor":{"display_login":"handcraftedsource"}}