{"action":"opened","issue":{"url":"https://api.github.com/repos/spf13/cobra/issues/114","labels_url":"https://api.github.com/repos/spf13/cobra/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/spf13/cobra/issues/114/comments","events_url":"https://api.github.com/repos/spf13/cobra/issues/114/events","html_url":"https://github.com/spf13/cobra/issues/114","id":83405087,"number":114,"title":"Usage output should default to stdout not stderr for subcommands too","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T09:28:08Z","updated_at":"2015-06-01T09:28:08Z","closed_at":null,"body":"#71 fixed #31, making `command --help | grep something` work as expected, however it doesn't work for subcommands like `command subcmd --help | grep something`.\r\n\r\nThis can be reproduced by compiling the [example](https://github.com/spf13/cobra/tree/8f5946caaeeff40a98d67f60c25e89c3525038a3#example) program from the README, and:\r\n\r\n    $ go run main.go echo --help | grep help        # won't work\r\n    $ go run main.go echo --help 2>&1 | grep help   # hack\r\n"}}