{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku/issues/1586","labels_url":"https://api.github.com/repos/heroku/heroku/issues/1586/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku/issues/1586/comments","events_url":"https://api.github.com/repos/heroku/heroku/issues/1586/events","html_url":"https://github.com/heroku/heroku/issues/1586","id":80781993,"number":1586,"title":"ps:scale does not understand the new dyno types","user":{"login":"shedd","id":180497,"avatar_url":"https://avatars.githubusercontent.com/u/180497?v=3","gravatar_id":"","url":"https://api.github.com/users/shedd","html_url":"https://github.com/shedd","followers_url":"https://api.github.com/users/shedd/followers","following_url":"https://api.github.com/users/shedd/following{/other_user}","gists_url":"https://api.github.com/users/shedd/gists{/gist_id}","starred_url":"https://api.github.com/users/shedd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shedd/subscriptions","organizations_url":"https://api.github.com/users/shedd/orgs","repos_url":"https://api.github.com/users/shedd/repos","events_url":"https://api.github.com/users/shedd/events{/privacy}","received_events_url":"https://api.github.com/users/shedd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T04:15:15Z","updated_at":"2015-05-30T01:34:32Z","closed_at":null,"body":"There seems to be a bug in trying to scale applications using the `ps:scale` command with the new dyno types.\r\n\r\nI keep hitting this error:\r\n\r\n```\r\n$ heroku ps:scale web=1:Standard-2X worker=1:Standard-1X --app appname\r\n! Usage: heroku ps:scale DYNO1=AMOUNT1[:SIZE] [DYNO2=AMOUNT2 ...]\r\n! Must specify DYNO and AMOUNT to scale.\r\n$ heroku ps:scale web=1:standard-2X worker=1:standard-1X --app appname\r\n! Usage: heroku ps:scale DYNO1=AMOUNT1[:SIZE] [DYNO2=AMOUNT2 ...]\r\n! Must specify DYNO and AMOUNT to scale.\r\n```\r\n\r\nThis syntax works with the old 1X, 2X, PX dynos, but not the new names."},"comment":{"url":"https://api.github.com/repos/heroku/heroku/issues/comments/106971090","html_url":"https://github.com/heroku/heroku/issues/1586#issuecomment-106971090","issue_url":"https://api.github.com/repos/heroku/heroku/issues/1586","id":106971090,"user":{"login":"bharat","id":54570,"avatar_url":"https://avatars.githubusercontent.com/u/54570?v=3","gravatar_id":"","url":"https://api.github.com/users/bharat","html_url":"https://github.com/bharat","followers_url":"https://api.github.com/users/bharat/followers","following_url":"https://api.github.com/users/bharat/following{/other_user}","gists_url":"https://api.github.com/users/bharat/gists{/gist_id}","starred_url":"https://api.github.com/users/bharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharat/subscriptions","organizations_url":"https://api.github.com/users/bharat/orgs","repos_url":"https://api.github.com/users/bharat/repos","events_url":"https://api.github.com/users/bharat/events{/privacy}","received_events_url":"https://api.github.com/users/bharat/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T01:34:32Z","updated_at":"2015-05-30T01:34:32Z","body":"I deleted my earlier comments - they were about an unrelated issue (you can't use heroku toolbelt to change the dyno type until you take an action in the web ui first).\r\n\r\nHowever - I believe this issue is caused by a failure in the regex here:\r\nhttps://github.com/heroku/heroku/blob/master/lib/heroku/command/ps.rb#L232\r\n\r\nMy guess is that the `\\w+` needs to be `[\\w-]+`."}}