{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/cli/pulls/comments/110734792","pull_request_review_id":31928593,"id":110734792,"diff_hunk":"@@ -0,0 +1,25 @@\n+﻿using Microsoft.DotNet.Cli.CommandLine;\n+\n+namespace Microsoft.DotNet.Tools.Help\n+{\n+    internal static class HelpCommandParser\n+    {\n+        public static Command Help()\n+        {\n+            return Create.Command(\n+                \"help\",\n+                LocalizableStrings.AppFullName,\n+                Accept.ZeroOrOneArgument()\n+                    .With(\n+                        LocalizableStrings.CommandArgumentDescription,\n+                        LocalizableStrings.CommandArgumentName),\n+                Create.Option(\n+                    \"-h|--help|-?|/?\",","path":"src/dotnet/commands/dotnet-help/HelpCommandParser.cs","position":17,"original_position":17,"commit_id":"0ec051af4c3d29558fc829ab5ac8ec6279e75d52","original_commit_id":"0ec051af4c3d29558fc829ab5ac8ec6279e75d52","user":{"login":"wli3","id":6993335,"avatar_url":"https://avatars2.githubusercontent.com/u/6993335?v=3","gravatar_id":"","url":"https://api.github.com/users/wli3","html_url":"https://github.com/wli3","followers_url":"https://api.github.com/users/wli3/followers","following_url":"https://api.github.com/users/wli3/following{/other_user}","gists_url":"https://api.github.com/users/wli3/gists{/gist_id}","starred_url":"https://api.github.com/users/wli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wli3/subscriptions","organizations_url":"https://api.github.com/users/wli3/orgs","repos_url":"https://api.github.com/users/wli3/repos","events_url":"https://api.github.com/users/wli3/events{/privacy}","received_events_url":"https://api.github.com/users/wli3/received_events","type":"User","site_admin":false},"body":"I find the problem. The test are testing _dotnet --help_ instead of _dotnet help --help_ . I should just remove this. And today, if you call _dotnet help -- help_ there will be an error thrown. ","created_at":"2017-04-10T18:52:05Z","updated_at":"2017-04-10T18:52:05Z","html_url":"https://github.com/dotnet/cli/pull/6276#discussion_r110734792","pull_request_url":"https://api.github.com/repos/dotnet/cli/pulls/6276","_links":{"self":{"href":"https://api.github.com/repos/dotnet/cli/pulls/comments/110734792"},"html":{"href":"https://github.com/dotnet/cli/pull/6276#discussion_r110734792"},"pull_request":{"href":"https://api.github.com/repos/dotnet/cli/pulls/6276"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/cli/pulls/6276","id":114958575,"html_url":"https://github.com/dotnet/cli/pull/6276","diff_url":"https://github.com/dotnet/cli/pull/6276.diff","patch_url":"https://github.com/dotnet/cli/pull/6276.patch","issue_url":"https://api.github.com/repos/dotnet/cli/issues/6276","number":6276,"state":"open","locked":false,"title":"replace dotnet help parser with CliCommandLineParser ","user":{"login":"wli3","id":6993335,"avatar_url":"https://avatars2.githubusercontent.com/u/6993335?v=3","gravatar_id":"","url":"https://api.github.com/users/wli3","html_url":"https://github.com/wli3","followers_url":"https://api.github.com/users/wli3/followers","following_url":"https://api.github.com/users/wli3/following{/other_user}","gists_url":"https://api.github.com/users/wli3/gists{/gist_id}","starred_url":"https://api.github.com/users/wli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wli3/subscriptions","organizations_url":"https://api.github.com/users/wli3/orgs","repos_url":"https://api.github.com/users/wli3/repos","events_url":"https://api.github.com/users/wli3/events{/privacy}","received_events_url":"https://api.github.com/users/wli3/received_events","type":"User","site_admin":false},"body":"CliCommandLineParserVersion 138 cannot use help as command and --help as\r\nopinion at the same time, update to 142","created_at":"2017-04-08T19:47:46Z","updated_at":"2017-04-10T18:52:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f1eec8cca9a311a147b4379b7359ac72a122de4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/cli/pulls/6276/commits","review_comments_url":"https://api.github.com/repos/dotnet/cli/pulls/6276/comments","review_comment_url":"https://api.github.com/repos/dotnet/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/6276/comments","statuses_url":"https://api.github.com/repos/dotnet/cli/statuses/0ec051af4c3d29558fc829ab5ac8ec6279e75d52","head":{"label":"wli3:replace-dotnet-help-parser","ref":"replace-dotnet-help-parser","sha":"0ec051af4c3d29558fc829ab5ac8ec6279e75d52","user":{"login":"wli3","id":6993335,"avatar_url":"https://avatars2.githubusercontent.com/u/6993335?v=3","gravatar_id":"","url":"https://api.github.com/users/wli3","html_url":"https://github.com/wli3","followers_url":"https://api.github.com/users/wli3/followers","following_url":"https://api.github.com/users/wli3/following{/other_user}","gists_url":"https://api.github.com/users/wli3/gists{/gist_id}","starred_url":"https://api.github.com/users/wli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wli3/subscriptions","organizations_url":"https://api.github.com/users/wli3/orgs","repos_url":"https://api.github.com/users/wli3/repos","events_url":"https://api.github.com/users/wli3/events{/privacy}","received_events_url":"https://api.github.com/users/wli3/received_events","type":"User","site_admin":false},"repo":{"id":67354897,"name":"cli","full_name":"wli3/cli","owner":{"login":"wli3","id":6993335,"avatar_url":"https://avatars2.githubusercontent.com/u/6993335?v=3","gravatar_id":"","url":"https://api.github.com/users/wli3","html_url":"https://github.com/wli3","followers_url":"https://api.github.com/users/wli3/followers","following_url":"https://api.github.com/users/wli3/following{/other_user}","gists_url":"https://api.github.com/users/wli3/gists{/gist_id}","starred_url":"https://api.github.com/users/wli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wli3/subscriptions","organizations_url":"https://api.github.com/users/wli3/orgs","repos_url":"https://api.github.com/users/wli3/repos","events_url":"https://api.github.com/users/wli3/events{/privacy}","received_events_url":"https://api.github.com/users/wli3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wli3/cli","description":"This repo contains the .NET Core command-line (CLI) tools, used for building .NET Core apps and libraries through your development flow (compiling, NuGet package management, running, testing, ...).","fork":true,"url":"https://api.github.com/repos/wli3/cli","forks_url":"https://api.github.com/repos/wli3/cli/forks","keys_url":"https://api.github.com/repos/wli3/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wli3/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wli3/cli/teams","hooks_url":"https://api.github.com/repos/wli3/cli/hooks","issue_events_url":"https://api.github.com/repos/wli3/cli/issues/events{/number}","events_url":"https://api.github.com/repos/wli3/cli/events","assignees_url":"https://api.github.com/repos/wli3/cli/assignees{/user}","branches_url":"https://api.github.com/repos/wli3/cli/branches{/branch}","tags_url":"https://api.github.com/repos/wli3/cli/tags","blobs_url":"https://api.github.com/repos/wli3/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wli3/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wli3/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/wli3/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wli3/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/wli3/cli/languages","stargazers_url":"https://api.github.com/repos/wli3/cli/stargazers","contributors_url":"https://api.github.com/repos/wli3/cli/contributors","subscribers_url":"https://api.github.com/repos/wli3/cli/subscribers","subscription_url":"https://api.github.com/repos/wli3/cli/subscription","commits_url":"https://api.github.com/repos/wli3/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/wli3/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/wli3/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/wli3/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/wli3/cli/contents/{+path}","compare_url":"https://api.github.com/repos/wli3/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wli3/cli/merges","archive_url":"https://api.github.com/repos/wli3/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wli3/cli/downloads","issues_url":"https://api.github.com/repos/wli3/cli/issues{/number}","pulls_url":"https://api.github.com/repos/wli3/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/wli3/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/wli3/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wli3/cli/labels{/name}","releases_url":"https://api.github.com/repos/wli3/cli/releases{/id}","deployments_url":"https://api.github.com/repos/wli3/cli/deployments","created_at":"2016-09-04T16:06:24Z","updated_at":"2016-09-04T16:06:28Z","pushed_at":"2017-04-08T19:46:24Z","git_url":"git://github.com/wli3/cli.git","ssh_url":"git@github.com:wli3/cli.git","clone_url":"https://github.com/wli3/cli.git","svn_url":"https://github.com/wli3/cli","homepage":"https://docs.microsoft.com/dotnet/ ","size":28810,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"rel/1.0.0"}},"base":{"label":"dotnet:master","ref":"master","sha":"67563a4f121f6cc22f76922c904740c47ddf40b7","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars3.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":43568107,"name":"cli","full_name":"dotnet/cli","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars3.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/cli","description":"This repo contains the .NET Core command-line (CLI) tools, used for building .NET Core apps and libraries through your development flow (compiling, NuGet package management, running, testing, ...).","fork":false,"url":"https://api.github.com/repos/dotnet/cli","forks_url":"https://api.github.com/repos/dotnet/cli/forks","keys_url":"https://api.github.com/repos/dotnet/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/cli/teams","hooks_url":"https://api.github.com/repos/dotnet/cli/hooks","issue_events_url":"https://api.github.com/repos/dotnet/cli/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/cli/events","assignees_url":"https://api.github.com/repos/dotnet/cli/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/cli/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/cli/tags","blobs_url":"https://api.github.com/repos/dotnet/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/cli/languages","stargazers_url":"https://api.github.com/repos/dotnet/cli/stargazers","contributors_url":"https://api.github.com/repos/dotnet/cli/contributors","subscribers_url":"https://api.github.com/repos/dotnet/cli/subscribers","subscription_url":"https://api.github.com/repos/dotnet/cli/subscription","commits_url":"https://api.github.com/repos/dotnet/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/cli/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/cli/merges","archive_url":"https://api.github.com/repos/dotnet/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/cli/downloads","issues_url":"https://api.github.com/repos/dotnet/cli/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/cli/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/cli/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/cli/deployments","created_at":"2015-10-02T18:03:15Z","updated_at":"2017-04-09T12:06:24Z","pushed_at":"2017-04-10T17:15:26Z","git_url":"git://github.com/dotnet/cli.git","ssh_url":"git@github.com:dotnet/cli.git","clone_url":"https://github.com/dotnet/cli.git","svn_url":"https://github.com/dotnet/cli","homepage":"https://docs.microsoft.com/dotnet/","size":32899,"stargazers_count":1960,"watchers_count":1960,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":609,"mirror_url":null,"open_issues_count":444,"forks":609,"open_issues":444,"watchers":1960,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/cli/pulls/6276"},"html":{"href":"https://github.com/dotnet/cli/pull/6276"},"issue":{"href":"https://api.github.com/repos/dotnet/cli/issues/6276"},"comments":{"href":"https://api.github.com/repos/dotnet/cli/issues/6276/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/cli/pulls/6276/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/cli/pulls/6276/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/cli/statuses/0ec051af4c3d29558fc829ab5ac8ec6279e75d52"}}}}
{"actor":{"display_login":"wli3"}}