{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/38","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/38/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/38/events","html_url":"https://github.com/openwhisk/openwhisk/issues/38","id":137950040,"number":38,"title":"confusing error message for wsk action update","user":{"login":"sjfink","id":1533170,"avatar_url":"https://avatars.githubusercontent.com/u/1533170?v=3","gravatar_id":"","url":"https://api.github.com/users/sjfink","html_url":"https://github.com/sjfink","followers_url":"https://api.github.com/users/sjfink/followers","following_url":"https://api.github.com/users/sjfink/following{/other_user}","gists_url":"https://api.github.com/users/sjfink/gists{/gist_id}","starred_url":"https://api.github.com/users/sjfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjfink/subscriptions","organizations_url":"https://api.github.com/users/sjfink/orgs","repos_url":"https://api.github.com/users/sjfink/repos","events_url":"https://api.github.com/users/sjfink/events{/privacy}","received_events_url":"https://api.github.com/users/sjfink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/CLI","name":"CLI","color":"006b75"},{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/error%20handling","name":"error handling","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-02T18:15:05Z","updated_at":"2016-03-02T22:44:17Z","closed_at":null,"body":"Attempting to update an action sequence that doesn't exist results in a confusing error message:\r\n```\r\nwsk: error: unrecognized arguments:\r\n```\r\n\r\nWe need a better error message like \"Error: cannot update sequence A which does not exist\".\r\n\r\nAlternatively, we could change the semantics of 'update' to mean 'createOrUpdate'\r\n\r\n```\r\nMacBook-Pro-3:~ sjfink$ wsk list\r\nentities in namespace: sjfink@us.ibm.com_dev\r\npackages\r\n/sjfink@us.ibm.com_dev/Bluemix_Cloudant NoSQL DB-sm_Credentials-1 private binding\r\nactions\r\n/sjfink@us.ibm.com_dev/Hello World                                private \r\n/sjfink@us.ibm.com_dev/My Action                                  private \r\ntriggers\r\nrules\r\nMacBook-Pro-3:~ sjfink$ wsk action update A --sequence 'Hello World','Hello World'\r\nusage: wsk [-h] [-v] [--apihost hostname] [--apiversion version]\r\n           \r\n           {action,activation,namespace,package,rule,trigger,sdk,property,list}\r\n           ...\r\nwsk: error: unrecognized arguments: Hello World,Hello World\r\nMacBook-Pro-3:~ sjfink$ wsk action create A --sequence 'Hello World','Hello World'\r\nok: created action A\r\n```"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/191475951","html_url":"https://github.com/openwhisk/openwhisk/issues/38#issuecomment-191475951","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/38","id":191475951,"user":{"login":"mbehrendt","id":4745697,"avatar_url":"https://avatars.githubusercontent.com/u/4745697?v=3","gravatar_id":"","url":"https://api.github.com/users/mbehrendt","html_url":"https://github.com/mbehrendt","followers_url":"https://api.github.com/users/mbehrendt/followers","following_url":"https://api.github.com/users/mbehrendt/following{/other_user}","gists_url":"https://api.github.com/users/mbehrendt/gists{/gist_id}","starred_url":"https://api.github.com/users/mbehrendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbehrendt/subscriptions","organizations_url":"https://api.github.com/users/mbehrendt/orgs","repos_url":"https://api.github.com/users/mbehrendt/repos","events_url":"https://api.github.com/users/mbehrendt/events{/privacy}","received_events_url":"https://api.github.com/users/mbehrendt/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T22:44:17Z","updated_at":"2016-03-02T22:44:17Z","body":"is this going to be easier to solve once we've moved to the go cli?"}}