{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17230","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17230/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17230/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17230/events","html_url":"https://github.com/kubernetes/kubernetes/pull/17230","id":116833069,"number":17230,"title":"Add printer options to Annotate","user":{"login":"hurf","id":4618015,"avatar_url":"https://avatars.githubusercontent.com/u/4618015?v=3","gravatar_id":"","url":"https://api.github.com/users/hurf","html_url":"https://github.com/hurf","followers_url":"https://api.github.com/users/hurf/followers","following_url":"https://api.github.com/users/hurf/following{/other_user}","gists_url":"https://api.github.com/users/hurf/gists{/gist_id}","starred_url":"https://api.github.com/users/hurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurf/subscriptions","organizations_url":"https://api.github.com/users/hurf/orgs","repos_url":"https://api.github.com/users/hurf/repos","events_url":"https://api.github.com/users/hurf/events{/privacy}","received_events_url":"https://api.github.com/users/hurf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars.githubusercontent.com/u/5751682?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-13T19:12:15Z","updated_at":"2015-11-13T22:47:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17230","html_url":"https://github.com/kubernetes/kubernetes/pull/17230","diff_url":"https://github.com/kubernetes/kubernetes/pull/17230.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17230.patch"},"body":"Closes: #16955\r\n\r\n1. add return message as \"resource name annotated\"\r\n2. add printer options to annotate\r\n3. move all parameter into AnnotateOptions to make sure runT\r\nfunction has no parameter."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/156580841","html_url":"https://github.com/kubernetes/kubernetes/pull/17230#issuecomment-156580841","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17230","id":156580841,"user":{"login":"hurf","id":4618015,"avatar_url":"https://avatars.githubusercontent.com/u/4618015?v=3","gravatar_id":"","url":"https://api.github.com/users/hurf","html_url":"https://github.com/hurf","followers_url":"https://api.github.com/users/hurf/followers","following_url":"https://api.github.com/users/hurf/following{/other_user}","gists_url":"https://api.github.com/users/hurf/gists{/gist_id}","starred_url":"https://api.github.com/users/hurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurf/subscriptions","organizations_url":"https://api.github.com/users/hurf/orgs","repos_url":"https://api.github.com/users/hurf/repos","events_url":"https://api.github.com/users/hurf/events{/privacy}","received_events_url":"https://api.github.com/users/hurf/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T22:47:48Z","updated_at":"2015-11-13T22:47:48Z","body":"@ashcrow - I think the validation is done by resource_printer. So every command will have this validation. And I tested it with your command, it works.\r\nThe error you got is not caused by `-o` option."}}