{"action":"opened","number":1539,"pull_request":{"url":"https://api.github.com/repos/docker/cli/pulls/1539","id":234662992,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NjYyOTky","html_url":"https://github.com/docker/cli/pull/1539","diff_url":"https://github.com/docker/cli/pull/1539.diff","patch_url":"https://github.com/docker/cli/pull/1539.patch","issue_url":"https://api.github.com/repos/docker/cli/issues/1539","number":1539,"state":"open","locked":false,"title":"Fix yamldocs outputing `[flags]` in usage output","user":{"login":"thaJeztah","id":1804568,"node_id":"MDQ6VXNlcjE4MDQ1Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/1804568?v=4","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"body":"A similar change was made in the CLI itself in https://github.com/docker/cli/pull/1069, but is not inherited by the code that generates the YAML docs.\r\n\r\nBefore this patch is applied;\r\n\r\n```\r\nusage: docker container exec [OPTIONS] CONTAINER COMMAND [ARG...] [flags]\r\n```\r\n\r\nWith this patch applied:\r\n\r\n```\r\nusage: docker container exec [OPTIONS] CONTAINER COMMAND [ARG...]\r\n```\r\n\r\n**- How to verify it**\r\n\r\nrun `make -f docker.Makefile yamldocs` and check the generated YAML files in `docs/yaml/gen/`\r\n\r\n","created_at":"2018-11-29T14:42:59Z","updated_at":"2018-11-29T14:42:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":585916036,"node_id":"MDU6TGFiZWw1ODU5MTYwMzY=","url":"https://api.github.com/repos/docker/cli/labels/kind/docs","name":"kind/docs","color":"A8E6CE","default":false},{"id":585916071,"node_id":"MDU6TGFiZWw1ODU5MTYwNzE=","url":"https://api.github.com/repos/docker/cli/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/docker/cli/pulls/1539/commits","review_comments_url":"https://api.github.com/repos/docker/cli/pulls/1539/comments","review_comment_url":"https://api.github.com/repos/docker/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/cli/issues/1539/comments","statuses_url":"https://api.github.com/repos/docker/cli/statuses/44d96e9120bb2b20249d0ea94d651fc07b73eb9a","head":{"label":"thaJeztah:fix_flags_in_usage","ref":"fix_flags_in_usage","sha":"44d96e9120bb2b20249d0ea94d651fc07b73eb9a","user":{"login":"thaJeztah","id":1804568,"node_id":"MDQ6VXNlcjE4MDQ1Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/1804568?v=4","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"repo":{"id":90747899,"node_id":"MDEwOlJlcG9zaXRvcnk5MDc0Nzg5OQ==","name":"cli","full_name":"thaJeztah/cli","private":false,"owner":{"login":"thaJeztah","id":1804568,"node_id":"MDQ6VXNlcjE4MDQ1Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/1804568?v=4","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"html_url":"https://github.com/thaJeztah/cli","description":"The Docker CLI","fork":true,"url":"https://api.github.com/repos/thaJeztah/cli","forks_url":"https://api.github.com/repos/thaJeztah/cli/forks","keys_url":"https://api.github.com/repos/thaJeztah/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thaJeztah/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thaJeztah/cli/teams","hooks_url":"https://api.github.com/repos/thaJeztah/cli/hooks","issue_events_url":"https://api.github.com/repos/thaJeztah/cli/issues/events{/number}","events_url":"https://api.github.com/repos/thaJeztah/cli/events","assignees_url":"https://api.github.com/repos/thaJeztah/cli/assignees{/user}","branches_url":"https://api.github.com/repos/thaJeztah/cli/branches{/branch}","tags_url":"https://api.github.com/repos/thaJeztah/cli/tags","blobs_url":"https://api.github.com/repos/thaJeztah/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thaJeztah/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thaJeztah/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/thaJeztah/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thaJeztah/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/thaJeztah/cli/languages","stargazers_url":"https://api.github.com/repos/thaJeztah/cli/stargazers","contributors_url":"https://api.github.com/repos/thaJeztah/cli/contributors","subscribers_url":"https://api.github.com/repos/thaJeztah/cli/subscribers","subscription_url":"https://api.github.com/repos/thaJeztah/cli/subscription","commits_url":"https://api.github.com/repos/thaJeztah/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/thaJeztah/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/thaJeztah/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/thaJeztah/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/thaJeztah/cli/contents/{+path}","compare_url":"https://api.github.com/repos/thaJeztah/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thaJeztah/cli/merges","archive_url":"https://api.github.com/repos/thaJeztah/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thaJeztah/cli/downloads","issues_url":"https://api.github.com/repos/thaJeztah/cli/issues{/number}","pulls_url":"https://api.github.com/repos/thaJeztah/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/thaJeztah/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/thaJeztah/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thaJeztah/cli/labels{/name}","releases_url":"https://api.github.com/repos/thaJeztah/cli/releases{/id}","deployments_url":"https://api.github.com/repos/thaJeztah/cli/deployments","created_at":"2017-05-09T13:18:29Z","updated_at":"2018-11-29T14:26:58Z","pushed_at":"2018-11-29T14:41:13Z","git_url":"git://github.com/thaJeztah/cli.git","ssh_url":"git@github.com:thaJeztah/cli.git","clone_url":"https://github.com/thaJeztah/cli.git","svn_url":"https://github.com/thaJeztah/cli","homepage":null,"size":21479,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"f64dc97acacc061260d4d6b9d6c4ee4130fbc458","user":{"login":"docker","id":5429470,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5429470?v=4","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":88013053,"node_id":"MDEwOlJlcG9zaXRvcnk4ODAxMzA1Mw==","name":"cli","full_name":"docker/cli","private":false,"owner":{"login":"docker","id":5429470,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5429470?v=4","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/docker/cli","description":"The Docker CLI","fork":false,"url":"https://api.github.com/repos/docker/cli","forks_url":"https://api.github.com/repos/docker/cli/forks","keys_url":"https://api.github.com/repos/docker/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/cli/teams","hooks_url":"https://api.github.com/repos/docker/cli/hooks","issue_events_url":"https://api.github.com/repos/docker/cli/issues/events{/number}","events_url":"https://api.github.com/repos/docker/cli/events","assignees_url":"https://api.github.com/repos/docker/cli/assignees{/user}","branches_url":"https://api.github.com/repos/docker/cli/branches{/branch}","tags_url":"https://api.github.com/repos/docker/cli/tags","blobs_url":"https://api.github.com/repos/docker/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/cli/languages","stargazers_url":"https://api.github.com/repos/docker/cli/stargazers","contributors_url":"https://api.github.com/repos/docker/cli/contributors","subscribers_url":"https://api.github.com/repos/docker/cli/subscribers","subscription_url":"https://api.github.com/repos/docker/cli/subscription","commits_url":"https://api.github.com/repos/docker/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/cli/contents/{+path}","compare_url":"https://api.github.com/repos/docker/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/cli/merges","archive_url":"https://api.github.com/repos/docker/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/cli/downloads","issues_url":"https://api.github.com/repos/docker/cli/issues{/number}","pulls_url":"https://api.github.com/repos/docker/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/cli/labels{/name}","releases_url":"https://api.github.com/repos/docker/cli/releases{/id}","deployments_url":"https://api.github.com/repos/docker/cli/deployments","created_at":"2017-04-12T05:27:42Z","updated_at":"2018-11-29T14:32:29Z","pushed_at":"2018-11-29T12:01:54Z","git_url":"git://github.com/docker/cli.git","ssh_url":"git@github.com:docker/cli.git","clone_url":"https://github.com/docker/cli.git","svn_url":"https://github.com/docker/cli","homepage":null,"size":21389,"stargazers_count":978,"watchers_count":978,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":585,"mirror_url":null,"archived":false,"open_issues_count":338,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":585,"open_issues":338,"watchers":978,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/cli/pulls/1539"},"html":{"href":"https://github.com/docker/cli/pull/1539"},"issue":{"href":"https://api.github.com/repos/docker/cli/issues/1539"},"comments":{"href":"https://api.github.com/repos/docker/cli/issues/1539/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/cli/pulls/1539/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/cli/pulls/1539/commits"},"statuses":{"href":"https://api.github.com/repos/docker/cli/statuses/44d96e9120bb2b20249d0ea94d651fc07b73eb9a"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":18,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"thaJeztah"}}