{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2937","labels_url":"https://api.github.com/repos/openshift/origin/issues/2937/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2937/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2937/events","html_url":"https://github.com/openshift/origin/issues/2937","id":86221447,"number":2937,"title":"oc <subcommand> --help is broken","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":1,"created_at":"2015-06-08T15:25:15Z","updated_at":"2015-06-08T15:29:06Z","closed_at":null,"body":"I'm getting a huge dump of help for all possible subcommands that isn't scoped to the ones I'm interested in.  This looks wrong.\r\n\r\n@smarterclayton please confirm.\r\n\r\n```\r\noc policy --help\r\nManage authorization policy\r\n\r\nUsage:\r\n  oc policy [options]\r\n\r\nBasic Commands:\r\n  login        Log in to an OpenShift server\r\n  new-project  Request a new project\r\n  new-app      Create a new application\r\n  status       Show an overview of the current project\r\n  project      Switch to another project\r\n\r\nBuild and Deploy Commands:\r\n  start-build  Starts a new build from existing Build or BuildConfig\r\n  build-logs   Show container logs from the build container\r\n  deploy       View, start and restart deployments.\r\n  rollback     Revert part of an application back to a previous deployment.\r\n  new-build    Create a new build configuration\r\n  cancel-build Cancel a pending or running build.\r\n  import-image Imports tag and image information from an external Docker image repository.\r\n  scale        Change the number of pods in a deployment\r\n\r\nApplication Modification Commands:\r\n  get          Display one or many resources\r\n  describe     Show details of a specific resource\r\n  edit         Edit a resource on the server and apply the update.\r\n  env          Update the environment on a resource with a pod template\r\n  label        Update the labels on a resource\r\n  expose       Expose a replicated application as a service or route\r\n  stop         Gracefully shut down a resource by id or filename.\r\n  delete       Delete a resource by filename, stdin, resource and ID, or by resources and label selector.\r\n\r\nTroubleshooting and Debugging Commands:\r\n  logs         Print the logs for a container in a pod.\r\n  exec         Execute a command in a container.\r\n  port-forward Forward one or more local ports to a pod.\r\n  proxy        Run a proxy to the Kubernetes API server\r\n\r\nAdvanced Commands:\r\n  create       Create a resource by filename or stdin\r\n  update       Update a resource by filename or stdin.\r\n  process      Process a template into list of resources\r\n  policy       Manage authorization policy\r\n  secrets      Manage secrets\r\n\r\nSettings Commands:\r\n  logout       End the current server session\r\n  config       Change configuration files for the client\r\n\r\nOther Commands:\r\n  who-can                Indicates which users can perform the action on the resource.\r\n  add-role-to-user       Add users to a role in the current project\r\n  remove-role-from-user  Remove user from role in the current project\r\n  remove-user            Remove user from the current project\r\n  add-role-to-group      Add groups to a role in the current project\r\n  remove-role-from-group Remove group from role in the current project\r\n  remove-group           Remove group from the current project\r\n\r\nUse \"oc --help\" for a list of all commands available in oc.\r\nUse \"oc help <command>\" for more information about a given command.\r\nUse \"oc options\" for a list of global command-line options (applies to all commands).\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/110041957","html_url":"https://github.com/openshift/origin/issues/2937#issuecomment-110041957","issue_url":"https://api.github.com/repos/openshift/origin/issues/2937","id":110041957,"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":"2015-06-08T15:29:05Z","updated_at":"2015-06-08T15:29:05Z","body":"Was briefly fixed but looks like it regressed."}}