{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/acr-builder/pulls/comments/179644575","pull_request_review_id":109929333,"id":179644575,"diff_hunk":"@@ -61,6 +67,20 @@ func main() {\n \tflag.BoolVar(&debug, constants.ArgNameDebug, false, \"Enable verbose output for debugging\")\n \tflag.Parse()\n \n+\tif *help {\n+\t\tflag.PrintDefaults()\n+\t\treturn\n+\t}\n+\n+\tif *versionFlag {\n+\t\tfmt.Printf(`%s:\n+\t\t\t\tgo version  : %s\n+\t\t\t\tgo compiler : %s\n+\t\t\t\tplatform    : %s/%s\n+\t\t\t   `, os.Args[0], runtime.Version(), runtime.Compiler, runtime.GOOS, runtime.GOARCH)","path":"main.go","position":34,"original_position":34,"commit_id":"915535eaf79c511c1335b3626615daf889bba901","original_commit_id":"915535eaf79c511c1335b3626615daf889bba901","user":{"login":"ehotinger","id":1822836,"avatar_url":"https://avatars1.githubusercontent.com/u/1822836?v=4","gravatar_id":"","url":"https://api.github.com/users/ehotinger","html_url":"https://github.com/ehotinger","followers_url":"https://api.github.com/users/ehotinger/followers","following_url":"https://api.github.com/users/ehotinger/following{/other_user}","gists_url":"https://api.github.com/users/ehotinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ehotinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehotinger/subscriptions","organizations_url":"https://api.github.com/users/ehotinger/orgs","repos_url":"https://api.github.com/users/ehotinger/repos","events_url":"https://api.github.com/users/ehotinger/events{/privacy}","received_events_url":"https://api.github.com/users/ehotinger/received_events","type":"User","site_admin":false},"body":"I actually removed the binary version stuff so the commit message is a bit wrong, have to add in the VERSION stuff like the runner to do that, and maintain a VERSION.txt file","created_at":"2018-04-06T02:00:55Z","updated_at":"2018-04-06T02:00:55Z","html_url":"https://github.com/Azure/acr-builder/pull/92#discussion_r179644575","pull_request_url":"https://api.github.com/repos/Azure/acr-builder/pulls/92","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/comments/179644575"},"html":{"href":"https://github.com/Azure/acr-builder/pull/92#discussion_r179644575"},"pull_request":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/92"}},"in_reply_to_id":179642755},"pull_request":{"url":"https://api.github.com/repos/Azure/acr-builder/pulls/92","id":179825209,"html_url":"https://github.com/Azure/acr-builder/pull/92","diff_url":"https://github.com/Azure/acr-builder/pull/92.diff","patch_url":"https://github.com/Azure/acr-builder/pull/92.patch","issue_url":"https://api.github.com/repos/Azure/acr-builder/issues/92","number":92,"state":"open","locked":false,"title":"Adds flags for displaying help & binary version info","user":{"login":"ehotinger","id":1822836,"avatar_url":"https://avatars1.githubusercontent.com/u/1822836?v=4","gravatar_id":"","url":"https://api.github.com/users/ehotinger","html_url":"https://github.com/ehotinger","followers_url":"https://api.github.com/users/ehotinger/followers","following_url":"https://api.github.com/users/ehotinger/following{/other_user}","gists_url":"https://api.github.com/users/ehotinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ehotinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehotinger/subscriptions","organizations_url":"https://api.github.com/users/ehotinger/orgs","repos_url":"https://api.github.com/users/ehotinger/repos","events_url":"https://api.github.com/users/ehotinger/events{/privacy}","received_events_url":"https://api.github.com/users/ehotinger/received_events","type":"User","site_admin":false},"body":"**Purpose of the PR:**\r\n\r\nAdds flags for displaying help & binary version info","created_at":"2018-04-05T23:51:08Z","updated_at":"2018-04-06T02:00:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcdc4db770a4175eea81e8bfc9758ef648879232","assignee":null,"assignees":[],"requested_reviewers":[{"login":"shhsu","id":6619915,"avatar_url":"https://avatars1.githubusercontent.com/u/6619915?v=4","gravatar_id":"","url":"https://api.github.com/users/shhsu","html_url":"https://github.com/shhsu","followers_url":"https://api.github.com/users/shhsu/followers","following_url":"https://api.github.com/users/shhsu/following{/other_user}","gists_url":"https://api.github.com/users/shhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/shhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shhsu/subscriptions","organizations_url":"https://api.github.com/users/shhsu/orgs","repos_url":"https://api.github.com/users/shhsu/repos","events_url":"https://api.github.com/users/shhsu/events{/privacy}","received_events_url":"https://api.github.com/users/shhsu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/acr-builder/pulls/92/commits","review_comments_url":"https://api.github.com/repos/Azure/acr-builder/pulls/92/comments","review_comment_url":"https://api.github.com/repos/Azure/acr-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/acr-builder/issues/92/comments","statuses_url":"https://api.github.com/repos/Azure/acr-builder/statuses/915535eaf79c511c1335b3626615daf889bba901","head":{"label":"ehotinger:ehotinger/help-version","ref":"ehotinger/help-version","sha":"915535eaf79c511c1335b3626615daf889bba901","user":{"login":"ehotinger","id":1822836,"avatar_url":"https://avatars1.githubusercontent.com/u/1822836?v=4","gravatar_id":"","url":"https://api.github.com/users/ehotinger","html_url":"https://github.com/ehotinger","followers_url":"https://api.github.com/users/ehotinger/followers","following_url":"https://api.github.com/users/ehotinger/following{/other_user}","gists_url":"https://api.github.com/users/ehotinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ehotinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehotinger/subscriptions","organizations_url":"https://api.github.com/users/ehotinger/orgs","repos_url":"https://api.github.com/users/ehotinger/repos","events_url":"https://api.github.com/users/ehotinger/events{/privacy}","received_events_url":"https://api.github.com/users/ehotinger/received_events","type":"User","site_admin":false},"repo":{"id":118508589,"name":"acr-builder","full_name":"ehotinger/acr-builder","owner":{"login":"ehotinger","id":1822836,"avatar_url":"https://avatars1.githubusercontent.com/u/1822836?v=4","gravatar_id":"","url":"https://api.github.com/users/ehotinger","html_url":"https://github.com/ehotinger","followers_url":"https://api.github.com/users/ehotinger/followers","following_url":"https://api.github.com/users/ehotinger/following{/other_user}","gists_url":"https://api.github.com/users/ehotinger/gists{/gist_id}","starred_url":"https://api.github.com/users/ehotinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehotinger/subscriptions","organizations_url":"https://api.github.com/users/ehotinger/orgs","repos_url":"https://api.github.com/users/ehotinger/repos","events_url":"https://api.github.com/users/ehotinger/events{/privacy}","received_events_url":"https://api.github.com/users/ehotinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehotinger/acr-builder","description":"Azure Container Registry Build Runner","fork":true,"url":"https://api.github.com/repos/ehotinger/acr-builder","forks_url":"https://api.github.com/repos/ehotinger/acr-builder/forks","keys_url":"https://api.github.com/repos/ehotinger/acr-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehotinger/acr-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehotinger/acr-builder/teams","hooks_url":"https://api.github.com/repos/ehotinger/acr-builder/hooks","issue_events_url":"https://api.github.com/repos/ehotinger/acr-builder/issues/events{/number}","events_url":"https://api.github.com/repos/ehotinger/acr-builder/events","assignees_url":"https://api.github.com/repos/ehotinger/acr-builder/assignees{/user}","branches_url":"https://api.github.com/repos/ehotinger/acr-builder/branches{/branch}","tags_url":"https://api.github.com/repos/ehotinger/acr-builder/tags","blobs_url":"https://api.github.com/repos/ehotinger/acr-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehotinger/acr-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehotinger/acr-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehotinger/acr-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehotinger/acr-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/ehotinger/acr-builder/languages","stargazers_url":"https://api.github.com/repos/ehotinger/acr-builder/stargazers","contributors_url":"https://api.github.com/repos/ehotinger/acr-builder/contributors","subscribers_url":"https://api.github.com/repos/ehotinger/acr-builder/subscribers","subscription_url":"https://api.github.com/repos/ehotinger/acr-builder/subscription","commits_url":"https://api.github.com/repos/ehotinger/acr-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehotinger/acr-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehotinger/acr-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehotinger/acr-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehotinger/acr-builder/contents/{+path}","compare_url":"https://api.github.com/repos/ehotinger/acr-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehotinger/acr-builder/merges","archive_url":"https://api.github.com/repos/ehotinger/acr-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehotinger/acr-builder/downloads","issues_url":"https://api.github.com/repos/ehotinger/acr-builder/issues{/number}","pulls_url":"https://api.github.com/repos/ehotinger/acr-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/ehotinger/acr-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/ehotinger/acr-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehotinger/acr-builder/labels{/name}","releases_url":"https://api.github.com/repos/ehotinger/acr-builder/releases{/id}","deployments_url":"https://api.github.com/repos/ehotinger/acr-builder/deployments","created_at":"2018-01-22T20:06:14Z","updated_at":"2018-04-06T00:10:28Z","pushed_at":"2018-04-06T01:59:40Z","git_url":"git://github.com/ehotinger/acr-builder.git","ssh_url":"git@github.com:ehotinger/acr-builder.git","clone_url":"https://github.com/ehotinger/acr-builder.git","svn_url":"https://github.com/ehotinger/acr-builder","homepage":null,"size":1581,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"7e16dccb31cdd22f6845657b9dc1bb8c75311a87","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":98698223,"name":"acr-builder","full_name":"Azure/acr-builder","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/acr-builder","description":"Azure Container Registry Build Runner","fork":false,"url":"https://api.github.com/repos/Azure/acr-builder","forks_url":"https://api.github.com/repos/Azure/acr-builder/forks","keys_url":"https://api.github.com/repos/Azure/acr-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/acr-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/acr-builder/teams","hooks_url":"https://api.github.com/repos/Azure/acr-builder/hooks","issue_events_url":"https://api.github.com/repos/Azure/acr-builder/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/acr-builder/events","assignees_url":"https://api.github.com/repos/Azure/acr-builder/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/acr-builder/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/acr-builder/tags","blobs_url":"https://api.github.com/repos/Azure/acr-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/acr-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/acr-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/acr-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/acr-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/acr-builder/languages","stargazers_url":"https://api.github.com/repos/Azure/acr-builder/stargazers","contributors_url":"https://api.github.com/repos/Azure/acr-builder/contributors","subscribers_url":"https://api.github.com/repos/Azure/acr-builder/subscribers","subscription_url":"https://api.github.com/repos/Azure/acr-builder/subscription","commits_url":"https://api.github.com/repos/Azure/acr-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/acr-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/acr-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/acr-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/acr-builder/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/acr-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/acr-builder/merges","archive_url":"https://api.github.com/repos/Azure/acr-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/acr-builder/downloads","issues_url":"https://api.github.com/repos/Azure/acr-builder/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/acr-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/acr-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/acr-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/acr-builder/labels{/name}","releases_url":"https://api.github.com/repos/Azure/acr-builder/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/acr-builder/deployments","created_at":"2017-07-29T00:44:12Z","updated_at":"2018-04-06T01:59:38Z","pushed_at":"2018-04-06T01:59:37Z","git_url":"git://github.com/Azure/acr-builder.git","ssh_url":"git@github.com:Azure/acr-builder.git","clone_url":"https://github.com/Azure/acr-builder.git","svn_url":"https://github.com/Azure/acr-builder","homepage":null,"size":1576,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":8,"open_issues":11,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/92"},"html":{"href":"https://github.com/Azure/acr-builder/pull/92"},"issue":{"href":"https://api.github.com/repos/Azure/acr-builder/issues/92"},"comments":{"href":"https://api.github.com/repos/Azure/acr-builder/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/acr-builder/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/acr-builder/statuses/915535eaf79c511c1335b3626615daf889bba901"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ehotinger"}}