{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/alexflint/go-arg/pulls/7","id":50037304,"html_url":"https://github.com/alexflint/go-arg/pull/7","diff_url":"https://github.com/alexflint/go-arg/pull/7.diff","patch_url":"https://github.com/alexflint/go-arg/pull/7.patch","issue_url":"https://api.github.com/repos/alexflint/go-arg/issues/7","number":7,"state":"closed","locked":false,"title":"Remove excess trailing whitespace from Usage generation","user":{"login":"brettlangdon","id":1320353,"avatar_url":"https://avatars.githubusercontent.com/u/1320353?v=3","gravatar_id":"","url":"https://api.github.com/users/brettlangdon","html_url":"https://github.com/brettlangdon","followers_url":"https://api.github.com/users/brettlangdon/followers","following_url":"https://api.github.com/users/brettlangdon/following{/other_user}","gists_url":"https://api.github.com/users/brettlangdon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettlangdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettlangdon/subscriptions","organizations_url":"https://api.github.com/users/brettlangdon/orgs","repos_url":"https://api.github.com/users/brettlangdon/repos","events_url":"https://api.github.com/users/brettlangdon/events{/privacy}","received_events_url":"https://api.github.com/users/brettlangdon/received_events","type":"User","site_admin":false},"body":"When looking at `usage_test.go` I noticed that the tests started to fail because my editor removed the trailing whitespace from the usage line in `expectedHelp`.\r\n\r\nThis PR is to remove that excess whitespace from the usage line by prefixing each argument with a space rather than postfixing it.\r\n\r\nWe were able to do this easily since the `\"usage: %s \"` format had a trailing whitespace as well.","created_at":"2015-11-07T14:40:49Z","updated_at":"2015-11-09T17:54:04Z","closed_at":"2015-11-09T17:54:04Z","merged_at":"2015-11-09T17:54:04Z","merge_commit_sha":"c343193758e9cdb21e5943826916de89718a2089","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alexflint/go-arg/pulls/7/commits","review_comments_url":"https://api.github.com/repos/alexflint/go-arg/pulls/7/comments","review_comment_url":"https://api.github.com/repos/alexflint/go-arg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alexflint/go-arg/issues/7/comments","statuses_url":"https://api.github.com/repos/alexflint/go-arg/statuses/383b8b84c14efaee9a36415704aaa8c22a167836","head":{"label":"brettlangdon:dev/trailing.whitespace.sqwished","ref":"dev/trailing.whitespace.sqwished","sha":"383b8b84c14efaee9a36415704aaa8c22a167836","user":{"login":"brettlangdon","id":1320353,"avatar_url":"https://avatars.githubusercontent.com/u/1320353?v=3","gravatar_id":"","url":"https://api.github.com/users/brettlangdon","html_url":"https://github.com/brettlangdon","followers_url":"https://api.github.com/users/brettlangdon/followers","following_url":"https://api.github.com/users/brettlangdon/following{/other_user}","gists_url":"https://api.github.com/users/brettlangdon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettlangdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettlangdon/subscriptions","organizations_url":"https://api.github.com/users/brettlangdon/orgs","repos_url":"https://api.github.com/users/brettlangdon/repos","events_url":"https://api.github.com/users/brettlangdon/events{/privacy}","received_events_url":"https://api.github.com/users/brettlangdon/received_events","type":"User","site_admin":false},"repo":{"id":45739513,"name":"go-arg","full_name":"brettlangdon/go-arg","owner":{"login":"brettlangdon","id":1320353,"avatar_url":"https://avatars.githubusercontent.com/u/1320353?v=3","gravatar_id":"","url":"https://api.github.com/users/brettlangdon","html_url":"https://github.com/brettlangdon","followers_url":"https://api.github.com/users/brettlangdon/followers","following_url":"https://api.github.com/users/brettlangdon/following{/other_user}","gists_url":"https://api.github.com/users/brettlangdon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettlangdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettlangdon/subscriptions","organizations_url":"https://api.github.com/users/brettlangdon/orgs","repos_url":"https://api.github.com/users/brettlangdon/repos","events_url":"https://api.github.com/users/brettlangdon/events{/privacy}","received_events_url":"https://api.github.com/users/brettlangdon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brettlangdon/go-arg","description":"Struct-based argument parsing in Go","fork":true,"url":"https://api.github.com/repos/brettlangdon/go-arg","forks_url":"https://api.github.com/repos/brettlangdon/go-arg/forks","keys_url":"https://api.github.com/repos/brettlangdon/go-arg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brettlangdon/go-arg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brettlangdon/go-arg/teams","hooks_url":"https://api.github.com/repos/brettlangdon/go-arg/hooks","issue_events_url":"https://api.github.com/repos/brettlangdon/go-arg/issues/events{/number}","events_url":"https://api.github.com/repos/brettlangdon/go-arg/events","assignees_url":"https://api.github.com/repos/brettlangdon/go-arg/assignees{/user}","branches_url":"https://api.github.com/repos/brettlangdon/go-arg/branches{/branch}","tags_url":"https://api.github.com/repos/brettlangdon/go-arg/tags","blobs_url":"https://api.github.com/repos/brettlangdon/go-arg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brettlangdon/go-arg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brettlangdon/go-arg/git/refs{/sha}","trees_url":"https://api.github.com/repos/brettlangdon/go-arg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brettlangdon/go-arg/statuses/{sha}","languages_url":"https://api.github.com/repos/brettlangdon/go-arg/languages","stargazers_url":"https://api.github.com/repos/brettlangdon/go-arg/stargazers","contributors_url":"https://api.github.com/repos/brettlangdon/go-arg/contributors","subscribers_url":"https://api.github.com/repos/brettlangdon/go-arg/subscribers","subscription_url":"https://api.github.com/repos/brettlangdon/go-arg/subscription","commits_url":"https://api.github.com/repos/brettlangdon/go-arg/commits{/sha}","git_commits_url":"https://api.github.com/repos/brettlangdon/go-arg/git/commits{/sha}","comments_url":"https://api.github.com/repos/brettlangdon/go-arg/comments{/number}","issue_comment_url":"https://api.github.com/repos/brettlangdon/go-arg/issues/comments{/number}","contents_url":"https://api.github.com/repos/brettlangdon/go-arg/contents/{+path}","compare_url":"https://api.github.com/repos/brettlangdon/go-arg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brettlangdon/go-arg/merges","archive_url":"https://api.github.com/repos/brettlangdon/go-arg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brettlangdon/go-arg/downloads","issues_url":"https://api.github.com/repos/brettlangdon/go-arg/issues{/number}","pulls_url":"https://api.github.com/repos/brettlangdon/go-arg/pulls{/number}","milestones_url":"https://api.github.com/repos/brettlangdon/go-arg/milestones{/number}","notifications_url":"https://api.github.com/repos/brettlangdon/go-arg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brettlangdon/go-arg/labels{/name}","releases_url":"https://api.github.com/repos/brettlangdon/go-arg/releases{/id}","created_at":"2015-11-07T14:24:11Z","updated_at":"2015-11-07T14:24:11Z","pushed_at":"2015-11-09T00:32:22Z","git_url":"git://github.com/brettlangdon/go-arg.git","ssh_url":"git@github.com:brettlangdon/go-arg.git","clone_url":"https://github.com/brettlangdon/go-arg.git","svn_url":"https://github.com/brettlangdon/go-arg","homepage":"","size":129,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"master"}},"base":{"label":"alexflint:master","ref":"master","sha":"53364a0be4ce4b3a84cefd6fac452fb953cd5acf","user":{"login":"alexflint","id":640247,"avatar_url":"https://avatars.githubusercontent.com/u/640247?v=3","gravatar_id":"","url":"https://api.github.com/users/alexflint","html_url":"https://github.com/alexflint","followers_url":"https://api.github.com/users/alexflint/followers","following_url":"https://api.github.com/users/alexflint/following{/other_user}","gists_url":"https://api.github.com/users/alexflint/gists{/gist_id}","starred_url":"https://api.github.com/users/alexflint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexflint/subscriptions","organizations_url":"https://api.github.com/users/alexflint/orgs","repos_url":"https://api.github.com/users/alexflint/repos","events_url":"https://api.github.com/users/alexflint/events{/privacy}","received_events_url":"https://api.github.com/users/alexflint/received_events","type":"User","site_admin":false},"repo":{"id":45324348,"name":"go-arg","full_name":"alexflint/go-arg","owner":{"login":"alexflint","id":640247,"avatar_url":"https://avatars.githubusercontent.com/u/640247?v=3","gravatar_id":"","url":"https://api.github.com/users/alexflint","html_url":"https://github.com/alexflint","followers_url":"https://api.github.com/users/alexflint/followers","following_url":"https://api.github.com/users/alexflint/following{/other_user}","gists_url":"https://api.github.com/users/alexflint/gists{/gist_id}","starred_url":"https://api.github.com/users/alexflint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexflint/subscriptions","organizations_url":"https://api.github.com/users/alexflint/orgs","repos_url":"https://api.github.com/users/alexflint/repos","events_url":"https://api.github.com/users/alexflint/events{/privacy}","received_events_url":"https://api.github.com/users/alexflint/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexflint/go-arg","description":"Struct-based argument parsing in Go","fork":false,"url":"https://api.github.com/repos/alexflint/go-arg","forks_url":"https://api.github.com/repos/alexflint/go-arg/forks","keys_url":"https://api.github.com/repos/alexflint/go-arg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexflint/go-arg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexflint/go-arg/teams","hooks_url":"https://api.github.com/repos/alexflint/go-arg/hooks","issue_events_url":"https://api.github.com/repos/alexflint/go-arg/issues/events{/number}","events_url":"https://api.github.com/repos/alexflint/go-arg/events","assignees_url":"https://api.github.com/repos/alexflint/go-arg/assignees{/user}","branches_url":"https://api.github.com/repos/alexflint/go-arg/branches{/branch}","tags_url":"https://api.github.com/repos/alexflint/go-arg/tags","blobs_url":"https://api.github.com/repos/alexflint/go-arg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexflint/go-arg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexflint/go-arg/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexflint/go-arg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexflint/go-arg/statuses/{sha}","languages_url":"https://api.github.com/repos/alexflint/go-arg/languages","stargazers_url":"https://api.github.com/repos/alexflint/go-arg/stargazers","contributors_url":"https://api.github.com/repos/alexflint/go-arg/contributors","subscribers_url":"https://api.github.com/repos/alexflint/go-arg/subscribers","subscription_url":"https://api.github.com/repos/alexflint/go-arg/subscription","commits_url":"https://api.github.com/repos/alexflint/go-arg/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexflint/go-arg/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexflint/go-arg/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexflint/go-arg/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexflint/go-arg/contents/{+path}","compare_url":"https://api.github.com/repos/alexflint/go-arg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexflint/go-arg/merges","archive_url":"https://api.github.com/repos/alexflint/go-arg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexflint/go-arg/downloads","issues_url":"https://api.github.com/repos/alexflint/go-arg/issues{/number}","pulls_url":"https://api.github.com/repos/alexflint/go-arg/pulls{/number}","milestones_url":"https://api.github.com/repos/alexflint/go-arg/milestones{/number}","notifications_url":"https://api.github.com/repos/alexflint/go-arg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexflint/go-arg/labels{/name}","releases_url":"https://api.github.com/repos/alexflint/go-arg/releases{/id}","created_at":"2015-11-01T01:30:06Z","updated_at":"2015-11-09T16:04:25Z","pushed_at":"2015-11-09T17:54:05Z","git_url":"git://github.com/alexflint/go-arg.git","ssh_url":"git@github.com:alexflint/go-arg.git","clone_url":"https://github.com/alexflint/go-arg.git","svn_url":"https://github.com/alexflint/go-arg","homepage":"","size":329,"stargazers_count":259,"watchers_count":259,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":259,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alexflint/go-arg/pulls/7"},"html":{"href":"https://github.com/alexflint/go-arg/pull/7"},"issue":{"href":"https://api.github.com/repos/alexflint/go-arg/issues/7"},"comments":{"href":"https://api.github.com/repos/alexflint/go-arg/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/alexflint/go-arg/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/alexflint/go-arg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alexflint/go-arg/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/alexflint/go-arg/statuses/383b8b84c14efaee9a36415704aaa8c22a167836"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alexflint","id":640247,"avatar_url":"https://avatars.githubusercontent.com/u/640247?v=3","gravatar_id":"","url":"https://api.github.com/users/alexflint","html_url":"https://github.com/alexflint","followers_url":"https://api.github.com/users/alexflint/followers","following_url":"https://api.github.com/users/alexflint/following{/other_user}","gists_url":"https://api.github.com/users/alexflint/gists{/gist_id}","starred_url":"https://api.github.com/users/alexflint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexflint/subscriptions","organizations_url":"https://api.github.com/users/alexflint/orgs","repos_url":"https://api.github.com/users/alexflint/repos","events_url":"https://api.github.com/users/alexflint/events{/privacy}","received_events_url":"https://api.github.com/users/alexflint/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":5,"changed_files":2}}