{"action":"created","issue":{"url":"https://api.github.com/repos/fetzerms/sabcmd/issues/2","labels_url":"https://api.github.com/repos/fetzerms/sabcmd/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fetzerms/sabcmd/issues/2/comments","events_url":"https://api.github.com/repos/fetzerms/sabcmd/issues/2/events","html_url":"https://github.com/fetzerms/sabcmd/issues/2","id":97346757,"number":2,"title":"\"sabcmd delete blabla\" says \"Error: Delete command requires a second argument.\"","user":{"login":"sanderjo","id":1273502,"avatar_url":"https://avatars.githubusercontent.com/u/1273502?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderjo","html_url":"https://github.com/sanderjo","followers_url":"https://api.github.com/users/sanderjo/followers","following_url":"https://api.github.com/users/sanderjo/following{/other_user}","gists_url":"https://api.github.com/users/sanderjo/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderjo/subscriptions","organizations_url":"https://api.github.com/users/sanderjo/orgs","repos_url":"https://api.github.com/users/sanderjo/repos","events_url":"https://api.github.com/users/sanderjo/events{/privacy}","received_events_url":"https://api.github.com/users/sanderjo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-26T20:17:11Z","updated_at":"2015-07-26T20:31:39Z","closed_at":null,"body":"Based on\r\n```\r\n   Examples:\r\n     - sabcmd status\r\n     - sabcmd add http://here.is.my.nzb/ubuntu14_04.nzb\r\n     - sabcmd add /tmp/here.is.my.nzb/ubuntu14_04.nzb\r\n     - sabcmd delete ubuntu14_04\r\n\r\n```\r\nI tried this, but the delete does not work:\r\n```\r\n$ ./sabcmd status\r\n+----[ SABcmd ]------------------------------------------------>\r\n| Currently enqueued nzbs:\r\n| \r\n|    (   1 ) Submarine\r\n|    (   2 ) ubuntu\r\n|    (   3 ) ubuntu\r\n|    (   4 ) ubuntu\r\n|    (   5 ) ubuntu\r\n| \r\n| Current transfer speed: 1.3 M/s\r\n+-------------------------------------------------------------->\r\n\r\n$ ./sabcmd delete ubuntu\r\nError: Delete command requires a second argument.\r\n\r\n$ ./sabcmd delete 2\r\nError: Delete command requires a second argument.\r\n```\r\n\r\nAnd:\r\n```\r\n$ ./sabcmd delete -t ubuntu\r\n./sabcmd: line 428: [: missing `]'\r\nRemoving\r\n| SABnzbd failed to delete nzb ubuntu.\r\n\r\n$ ./sabcmd delete -t 2\r\n./sabcmd: line 428: [: missing `]'\r\nRemoving\r\n| SABnzbd failed to delete nzb 2.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/fetzerms/sabcmd/issues/comments/125036229","html_url":"https://github.com/fetzerms/sabcmd/issues/2#issuecomment-125036229","issue_url":"https://api.github.com/repos/fetzerms/sabcmd/issues/2","id":125036229,"user":{"login":"sanderjo","id":1273502,"avatar_url":"https://avatars.githubusercontent.com/u/1273502?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderjo","html_url":"https://github.com/sanderjo","followers_url":"https://api.github.com/users/sanderjo/followers","following_url":"https://api.github.com/users/sanderjo/following{/other_user}","gists_url":"https://api.github.com/users/sanderjo/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderjo/subscriptions","organizations_url":"https://api.github.com/users/sanderjo/orgs","repos_url":"https://api.github.com/users/sanderjo/repos","events_url":"https://api.github.com/users/sanderjo/events{/privacy}","received_events_url":"https://api.github.com/users/sanderjo/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T20:31:39Z","updated_at":"2015-07-26T20:31:39Z","body":"Maybe make it possible to use the sequence number (\"2\") or present the nzo name (\"SABnzbd_nzo_yz1AGu\")?"}}