{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23402","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23402/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23402/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23402/events","html_url":"https://github.com/kubernetes/kubernetes/issues/23402","id":143090013,"number":23402,"title":"kubectl: global flags makes output from every command very noisy","user":{"login":"broady","id":24982,"avatar_url":"https://avatars.githubusercontent.com/u/24982?v=3","gravatar_id":"","url":"https://api.github.com/users/broady","html_url":"https://github.com/broady","followers_url":"https://api.github.com/users/broady/followers","following_url":"https://api.github.com/users/broady/following{/other_user}","gists_url":"https://api.github.com/users/broady/gists{/gist_id}","starred_url":"https://api.github.com/users/broady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broady/subscriptions","organizations_url":"https://api.github.com/users/broady/orgs","repos_url":"https://api.github.com/users/broady/repos","events_url":"https://api.github.com/users/broady/events{/privacy}","received_events_url":"https://api.github.com/users/broady/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-23T21:55:11Z","updated_at":"2016-03-24T14:40:57Z","closed_at":null,"body":"Currently, there are 22 lines of output from any kubectl command describing global flags.\r\n\r\nThis means you always need to scroll the terminal buffer backwards to see the useful help output (toward the top).\r\n\r\nSuggestions to fix:\r\n* Remove global flags from every help output (put a separate help subcommand for it)\r\n* Use the $PAGER environment variable to page help text"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/200866975","html_url":"https://github.com/kubernetes/kubernetes/issues/23402#issuecomment-200866975","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23402","id":200866975,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T14:40:57Z","updated_at":"2016-03-24T14:40:57Z","body":"And we do that specifically so we can do this -\nhttps://github.com/openshift/origin/blob/master/pkg/cmd/cli/cli.go#L87 -\ngroup commands by function.\n\nwhich is something I've been meaning to upstream to kubectl.\n\nOn Thu, Mar 24, 2016 at 8:38 AM, David Eads <notifications@github.com>\nwrote:\n\n> Looks like we changed the help template and wired up a new command to give\n> us the global options:\n> https://github.com/openshift/origin/blob/master/pkg/cmd/templates/templates.go\n>\n> —\n> You are receiving this because you are on a team that was mentioned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kubernetes/kubernetes/issues/23402#issuecomment-200813520>\n>\n"}}