{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/174624257","pull_request_review_id":104015571,"id":174624257,"diff_hunk":"@@ -530,6 +539,44 @@ private string GetHelpFile(string helpFile, CmdletInfo cmdletInfo)\n \n             string location = MUIFileSearcher.LocateFile(helpFileToLoad, searchPaths);\n \n+            // try home location\n+            if(String.IsNullOrEmpty(location))","path":"src/System.Management.Automation/help/CommandHelpProvider.cs","position":28,"original_position":28,"commit_id":"0ff270fe4025d525c54482c21ba5ef68aaae0ecf","original_commit_id":"0ff270fe4025d525c54482c21ba5ef68aaae0ecf","user":{"login":"adityapatwardhan","id":12820925,"avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false},"body":"Fixed. ","created_at":"2018-03-14T22:04:07Z","updated_at":"2018-03-14T22:04:07Z","html_url":"https://github.com/PowerShell/PowerShell/pull/6352#discussion_r174624257","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/174624257"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/6352#discussion_r174624257"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352"}},"in_reply_to_id":173682993},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352","id":173899943,"html_url":"https://github.com/PowerShell/PowerShell/pull/6352","diff_url":"https://github.com/PowerShell/PowerShell/pull/6352.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/6352.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6352","number":6352,"state":"open","locked":false,"title":"Add functionality to update help in user scope","user":{"login":"adityapatwardhan","id":12820925,"avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false},"body":"## PR Summary\r\n\r\nUpdate-Help needs elevation to update the help content.\r\nThis PR adds a functionality to save the updated help content under $HOME to elevation is not required.\r\nTo enable this functionality -Scope parameter is added Update-Help.\r\nScope is defaulted to Global, which adheres the current behavior, whereas User scope saves the help content under $HOME.\r\nAlso made changes to Get-Help to lookup help from under $HOME.\r\nUpdated and added tests for Update-Help and Get-Help.\r\n\r\n## PR Checklist\r\n\r\n- [X] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n    - Use the present tense and imperative mood when describing your changes\r\n- [X] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [X] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)\r\n- [X] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [X] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).\r\n    - If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready.\r\n- **User-facing changes**\r\n    - [ ] Not Applicable\r\n    - **OR**\r\n    - [X] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n        - [X] Issue filed - Issue link: https://github.com/PowerShell/PowerShell-Docs/issues/2168\r\n- **Testing - New and feature**\r\n    - [ ] Not Applicable or can only be tested interactively\r\n    - **OR**\r\n    - [X] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)\r\n        - [X] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr)\r\n","created_at":"2018-03-09T01:55:52Z","updated_at":"2018-03-14T22:04:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"696a8799cd3fa912b13e189f037d22061d92ca83","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/6352/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/0ff270fe4025d525c54482c21ba5ef68aaae0ecf","head":{"label":"adityapatwardhan:UpdateHelpUserScope","ref":"UpdateHelpUserScope","sha":"0ff270fe4025d525c54482c21ba5ef68aaae0ecf","user":{"login":"adityapatwardhan","id":12820925,"avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false},"repo":{"id":68341554,"name":"PowerShell","full_name":"adityapatwardhan/PowerShell","owner":{"login":"adityapatwardhan","id":12820925,"avatar_url":"https://avatars0.githubusercontent.com/u/12820925?v=4","gravatar_id":"","url":"https://api.github.com/users/adityapatwardhan","html_url":"https://github.com/adityapatwardhan","followers_url":"https://api.github.com/users/adityapatwardhan/followers","following_url":"https://api.github.com/users/adityapatwardhan/following{/other_user}","gists_url":"https://api.github.com/users/adityapatwardhan/gists{/gist_id}","starred_url":"https://api.github.com/users/adityapatwardhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityapatwardhan/subscriptions","organizations_url":"https://api.github.com/users/adityapatwardhan/orgs","repos_url":"https://api.github.com/users/adityapatwardhan/repos","events_url":"https://api.github.com/users/adityapatwardhan/events{/privacy}","received_events_url":"https://api.github.com/users/adityapatwardhan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adityapatwardhan/PowerShell","description":"PowerShell for every system!","fork":true,"url":"https://api.github.com/repos/adityapatwardhan/PowerShell","forks_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/forks","keys_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/teams","hooks_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/events","assignees_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/tags","blobs_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/languages","stargazers_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/subscription","commits_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/merges","archive_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/downloads","issues_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/adityapatwardhan/PowerShell/deployments","created_at":"2016-09-16T00:19:53Z","updated_at":"2016-09-16T00:20:02Z","pushed_at":"2018-03-14T00:42:29Z","git_url":"git://github.com/adityapatwardhan/PowerShell.git","ssh_url":"git@github.com:adityapatwardhan/PowerShell.git","clone_url":"https://github.com/adityapatwardhan/PowerShell.git","svn_url":"https://github.com/adityapatwardhan/PowerShell","homepage":"https://microsoft.com/powershell","size":34615,"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":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerShell:master","ref":"master","sha":"2d58072460cf6aa495106ae6dc0b412ce5147c32","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars3.githubusercontent.com/u/11524380?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":49609581,"name":"PowerShell","full_name":"PowerShell/PowerShell","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars3.githubusercontent.com/u/11524380?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShell","description":"PowerShell for every system!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShell","forks_url":"https://api.github.com/repos/PowerShell/PowerShell/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShell/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShell/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShell/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShell/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShell/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShell/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShell/deployments","created_at":"2016-01-13T23:41:35Z","updated_at":"2018-03-14T21:20:19Z","pushed_at":"2018-03-14T19:47:07Z","git_url":"git://github.com/PowerShell/PowerShell.git","ssh_url":"git@github.com:PowerShell/PowerShell.git","clone_url":"https://github.com/PowerShell/PowerShell.git","svn_url":"https://github.com/PowerShell/PowerShell","homepage":"https://microsoft.com/powershell","size":35657,"stargazers_count":9685,"watchers_count":9685,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1468,"mirror_url":null,"archived":false,"open_issues_count":1345,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1468,"open_issues":1345,"watchers":9685,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/6352"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/6352"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/6352/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/6352/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShell/statuses/0ff270fe4025d525c54482c21ba5ef68aaae0ecf"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"adityapatwardhan"}}