{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments/32631196","id":32631196,"diff_hunk":"@@ -78,6 +78,11 @@ main(List<String> arguments) async {\n     packageRootDir = new Directory(_resolveTildePath(args['package-root']));\n   }\n \n+  if (args.rest.isNotEmpty) {\n+    print('Error: detected unknown command-line argument(s)');","path":"bin/dartdoc.dart","position":14,"original_position":14,"commit_id":"2f9693c7ec782f94504c908dc7eecbab5b696e47","original_commit_id":"2f9693c7ec782f94504c908dc7eecbab5b696e47","user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"body":"perhaps also: `: ${args.rest.join(' ')}`","created_at":"2015-06-17T14:20:33Z","updated_at":"2015-06-17T14:20:33Z","html_url":"https://github.com/dart-lang/dartdoc/pull/593#discussion_r32631196","pull_request_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments/32631196"},"html":{"href":"https://github.com/dart-lang/dartdoc/pull/593#discussion_r32631196"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593","id":37904891,"html_url":"https://github.com/dart-lang/dartdoc/pull/593","diff_url":"https://github.com/dart-lang/dartdoc/pull/593.diff","patch_url":"https://github.com/dart-lang/dartdoc/pull/593.patch","issue_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/593","number":593,"state":"open","locked":false,"title":"throw if user passes a command-line arg","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-17T14:12:46Z","updated_at":"2015-06-17T14:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef1e048c1eac08809e704fc3dc7c44b8eb782d2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593/commits","review_comments_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593/comments","review_comment_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/593/comments","statuses_url":"https://api.github.com/repos/dart-lang/dartdoc/statuses/2f9693c7ec782f94504c908dc7eecbab5b696e47","head":{"label":"dart-lang:throw-on-invalid-command-line-args","ref":"throw-on-invalid-command-line-args","sha":"2f9693c7ec782f94504c908dc7eecbab5b696e47","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":26507037,"name":"dartdoc","full_name":"dart-lang/dartdoc","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/dartdoc","description":"API documentation tool for Dart.","fork":false,"url":"https://api.github.com/repos/dart-lang/dartdoc","forks_url":"https://api.github.com/repos/dart-lang/dartdoc/forks","keys_url":"https://api.github.com/repos/dart-lang/dartdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/dartdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/dartdoc/teams","hooks_url":"https://api.github.com/repos/dart-lang/dartdoc/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/dartdoc/events","assignees_url":"https://api.github.com/repos/dart-lang/dartdoc/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/dartdoc/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/dartdoc/tags","blobs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/dartdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/dartdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/dartdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/dartdoc/languages","stargazers_url":"https://api.github.com/repos/dart-lang/dartdoc/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/dartdoc/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/dartdoc/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/dartdoc/subscription","commits_url":"https://api.github.com/repos/dart-lang/dartdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/dartdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/dartdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/dartdoc/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/dartdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/dartdoc/merges","archive_url":"https://api.github.com/repos/dart-lang/dartdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/dartdoc/downloads","issues_url":"https://api.github.com/repos/dart-lang/dartdoc/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/dartdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/dartdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/dartdoc/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/dartdoc/releases{/id}","created_at":"2014-11-11T22:05:42Z","updated_at":"2015-06-16T14:49:50Z","pushed_at":"2015-06-17T14:12:46Z","git_url":"git://github.com/dart-lang/dartdoc.git","ssh_url":"git@github.com:dart-lang/dartdoc.git","clone_url":"https://github.com/dart-lang/dartdoc.git","svn_url":"https://github.com/dart-lang/dartdoc","homepage":"https://pub.dartlang.org/packages/dartdoc","size":3881,"stargazers_count":23,"watchers_count":23,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":68,"forks":8,"open_issues":68,"watchers":23,"default_branch":"master"}},"base":{"label":"dart-lang:master","ref":"master","sha":"b9860e32e3a2a4d7eb8ff2733dde4d087c825238","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":26507037,"name":"dartdoc","full_name":"dart-lang/dartdoc","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/dartdoc","description":"API documentation tool for Dart.","fork":false,"url":"https://api.github.com/repos/dart-lang/dartdoc","forks_url":"https://api.github.com/repos/dart-lang/dartdoc/forks","keys_url":"https://api.github.com/repos/dart-lang/dartdoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/dartdoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/dartdoc/teams","hooks_url":"https://api.github.com/repos/dart-lang/dartdoc/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/dartdoc/events","assignees_url":"https://api.github.com/repos/dart-lang/dartdoc/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/dartdoc/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/dartdoc/tags","blobs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/dartdoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/dartdoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/dartdoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/dartdoc/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/dartdoc/languages","stargazers_url":"https://api.github.com/repos/dart-lang/dartdoc/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/dartdoc/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/dartdoc/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/dartdoc/subscription","commits_url":"https://api.github.com/repos/dart-lang/dartdoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/dartdoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/dartdoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/dartdoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/dartdoc/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/dartdoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/dartdoc/merges","archive_url":"https://api.github.com/repos/dart-lang/dartdoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/dartdoc/downloads","issues_url":"https://api.github.com/repos/dart-lang/dartdoc/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/dartdoc/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/dartdoc/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/dartdoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/dartdoc/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/dartdoc/releases{/id}","created_at":"2014-11-11T22:05:42Z","updated_at":"2015-06-16T14:49:50Z","pushed_at":"2015-06-17T14:12:46Z","git_url":"git://github.com/dart-lang/dartdoc.git","ssh_url":"git@github.com:dart-lang/dartdoc.git","clone_url":"https://github.com/dart-lang/dartdoc.git","svn_url":"https://github.com/dart-lang/dartdoc","homepage":"https://pub.dartlang.org/packages/dartdoc","size":3881,"stargazers_count":23,"watchers_count":23,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":68,"forks":8,"open_issues":68,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593"},"html":{"href":"https://github.com/dart-lang/dartdoc/pull/593"},"issue":{"href":"https://api.github.com/repos/dart-lang/dartdoc/issues/593"},"comments":{"href":"https://api.github.com/repos/dart-lang/dartdoc/issues/593/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/dartdoc/pulls/593/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/dartdoc/statuses/2f9693c7ec782f94504c908dc7eecbab5b696e47"}}}}