{"action":"created","comment":{"url":"https://api.github.com/repos/yargs/yargs/pulls/comments/95063057","pull_request_review_id":15609598,"id":95063057,"diff_hunk":"@@ -261,10 +261,24 @@ module.exports = function (yargs, y18n) {\n       })\n \n       examples.forEach(function (example) {\n-        ui.div(\n-          {text: example[0], padding: [0, 2, 0, 2], width: maxWidth(examples, theWrap) + 4},\n-          example[1]\n-        )\n+        if (example[1] === '') {\n+          ui.div(\n+            {\n+              text: example[0],\n+              padding: [0, 2, 0, 2]","path":"lib/usage.js","position":12,"original_position":12,"commit_id":"37960eba9968454cf451bd16675a4b972c20e5b6","original_commit_id":"37960eba9968454cf451bd16675a4b972c20e5b6","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"body":"@maxrimue I think you want ` width: maxWidth(theWrap) + 4`.","created_at":"2017-01-07T18:23:08Z","updated_at":"2017-01-07T18:23:08Z","html_url":"https://github.com/yargs/yargs/pull/749#discussion_r95063057","pull_request_url":"https://api.github.com/repos/yargs/yargs/pulls/749","_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments/95063057"},"html":{"href":"https://github.com/yargs/yargs/pull/749#discussion_r95063057"},"pull_request":{"href":"https://api.github.com/repos/yargs/yargs/pulls/749"}}},"pull_request":{"url":"https://api.github.com/repos/yargs/yargs/pulls/749","id":100099145,"html_url":"https://github.com/yargs/yargs/pull/749","diff_url":"https://github.com/yargs/yargs/pull/749.diff","patch_url":"https://github.com/yargs/yargs/pull/749.patch","issue_url":"https://api.github.com/repos/yargs/yargs/issues/749","number":749,"state":"open","locked":false,"title":"fix: line wrapping for examples without desc","user":{"login":"maxrimue","id":7421183,"avatar_url":"https://avatars.githubusercontent.com/u/7421183?v=3","gravatar_id":"","url":"https://api.github.com/users/maxrimue","html_url":"https://github.com/maxrimue","followers_url":"https://api.github.com/users/maxrimue/followers","following_url":"https://api.github.com/users/maxrimue/following{/other_user}","gists_url":"https://api.github.com/users/maxrimue/gists{/gist_id}","starred_url":"https://api.github.com/users/maxrimue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxrimue/subscriptions","organizations_url":"https://api.github.com/users/maxrimue/orgs","repos_url":"https://api.github.com/users/maxrimue/repos","events_url":"https://api.github.com/users/maxrimue/events{/privacy}","received_events_url":"https://api.github.com/users/maxrimue/received_events","type":"User","site_admin":false},"body":"This PR fixes #697. Now, if an example is defined without a description, the usage example will take up the entire line instead of just 50% of it.","created_at":"2017-01-04T11:18:35Z","updated_at":"2017-01-07T18:23:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d39bf6b23a8bfe75c16d71c4e76ea7d32d94f02b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yargs/yargs/pulls/749/commits","review_comments_url":"https://api.github.com/repos/yargs/yargs/pulls/749/comments","review_comment_url":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yargs/yargs/issues/749/comments","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/37960eba9968454cf451bd16675a4b972c20e5b6","head":{"label":"yargs:fix/examples-wrapping","ref":"fix/examples-wrapping","sha":"37960eba9968454cf451bd16675a4b972c20e5b6","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":14210523,"name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2017-01-07T10:04:52Z","pushed_at":"2017-01-06T05:53:40Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":1537,"stargazers_count":2402,"watchers_count":2402,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":181,"mirror_url":null,"open_issues_count":71,"forks":181,"open_issues":71,"watchers":2402,"default_branch":"master"}},"base":{"label":"yargs:master","ref":"master","sha":"8de8272a8c4a7b96da4c93d166f2fc063956c64e","user":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"repo":{"id":14210523,"name":"yargs","full_name":"yargs/yargs","owner":{"login":"yargs","id":16504989,"avatar_url":"https://avatars.githubusercontent.com/u/16504989?v=3","gravatar_id":"","url":"https://api.github.com/users/yargs","html_url":"https://github.com/yargs","followers_url":"https://api.github.com/users/yargs/followers","following_url":"https://api.github.com/users/yargs/following{/other_user}","gists_url":"https://api.github.com/users/yargs/gists{/gist_id}","starred_url":"https://api.github.com/users/yargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yargs/subscriptions","organizations_url":"https://api.github.com/users/yargs/orgs","repos_url":"https://api.github.com/users/yargs/repos","events_url":"https://api.github.com/users/yargs/events{/privacy}","received_events_url":"https://api.github.com/users/yargs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yargs/yargs","description":" yargs the modern, pirate-themed successor to optimist.","fork":false,"url":"https://api.github.com/repos/yargs/yargs","forks_url":"https://api.github.com/repos/yargs/yargs/forks","keys_url":"https://api.github.com/repos/yargs/yargs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yargs/yargs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yargs/yargs/teams","hooks_url":"https://api.github.com/repos/yargs/yargs/hooks","issue_events_url":"https://api.github.com/repos/yargs/yargs/issues/events{/number}","events_url":"https://api.github.com/repos/yargs/yargs/events","assignees_url":"https://api.github.com/repos/yargs/yargs/assignees{/user}","branches_url":"https://api.github.com/repos/yargs/yargs/branches{/branch}","tags_url":"https://api.github.com/repos/yargs/yargs/tags","blobs_url":"https://api.github.com/repos/yargs/yargs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yargs/yargs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yargs/yargs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yargs/yargs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yargs/yargs/statuses/{sha}","languages_url":"https://api.github.com/repos/yargs/yargs/languages","stargazers_url":"https://api.github.com/repos/yargs/yargs/stargazers","contributors_url":"https://api.github.com/repos/yargs/yargs/contributors","subscribers_url":"https://api.github.com/repos/yargs/yargs/subscribers","subscription_url":"https://api.github.com/repos/yargs/yargs/subscription","commits_url":"https://api.github.com/repos/yargs/yargs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yargs/yargs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yargs/yargs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yargs/yargs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yargs/yargs/contents/{+path}","compare_url":"https://api.github.com/repos/yargs/yargs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yargs/yargs/merges","archive_url":"https://api.github.com/repos/yargs/yargs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yargs/yargs/downloads","issues_url":"https://api.github.com/repos/yargs/yargs/issues{/number}","pulls_url":"https://api.github.com/repos/yargs/yargs/pulls{/number}","milestones_url":"https://api.github.com/repos/yargs/yargs/milestones{/number}","notifications_url":"https://api.github.com/repos/yargs/yargs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yargs/yargs/labels{/name}","releases_url":"https://api.github.com/repos/yargs/yargs/releases{/id}","deployments_url":"https://api.github.com/repos/yargs/yargs/deployments","created_at":"2013-11-07T17:25:51Z","updated_at":"2017-01-07T10:04:52Z","pushed_at":"2017-01-06T05:53:40Z","git_url":"git://github.com/yargs/yargs.git","ssh_url":"git@github.com:yargs/yargs.git","clone_url":"https://github.com/yargs/yargs.git","svn_url":"https://github.com/yargs/yargs","homepage":"http://yargs.js.org/","size":1537,"stargazers_count":2402,"watchers_count":2402,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":181,"mirror_url":null,"open_issues_count":71,"forks":181,"open_issues":71,"watchers":2402,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yargs/yargs/pulls/749"},"html":{"href":"https://github.com/yargs/yargs/pull/749"},"issue":{"href":"https://api.github.com/repos/yargs/yargs/issues/749"},"comments":{"href":"https://api.github.com/repos/yargs/yargs/issues/749/comments"},"review_comments":{"href":"https://api.github.com/repos/yargs/yargs/pulls/749/comments"},"review_comment":{"href":"https://api.github.com/repos/yargs/yargs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yargs/yargs/pulls/749/commits"},"statuses":{"href":"https://api.github.com/repos/yargs/yargs/statuses/37960eba9968454cf451bd16675a4b972c20e5b6"}}}}
{"actor":{"display_login":"bcoe"}}