{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5380","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5380/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5380/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5380/events","html_url":"https://github.com/ember-cli/ember-cli/pull/5380","id":127898474,"number":5380,"title":"[ENHANCEMENT] print double dash for long aliases in availableOptions","user":{"login":"ghedamat","id":220183,"avatar_url":"https://avatars.githubusercontent.com/u/220183?v=3","gravatar_id":"","url":"https://api.github.com/users/ghedamat","html_url":"https://github.com/ghedamat","followers_url":"https://api.github.com/users/ghedamat/followers","following_url":"https://api.github.com/users/ghedamat/following{/other_user}","gists_url":"https://api.github.com/users/ghedamat/gists{/gist_id}","starred_url":"https://api.github.com/users/ghedamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghedamat/subscriptions","organizations_url":"https://api.github.com/users/ghedamat/orgs","repos_url":"https://api.github.com/users/ghedamat/repos","events_url":"https://api.github.com/users/ghedamat/events{/privacy}","received_events_url":"https://api.github.com/users/ghedamat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-21T10:56:32Z","updated_at":"2016-01-21T23:12:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/5380","html_url":"https://github.com/ember-cli/ember-cli/pull/5380","diff_url":"https://github.com/ember-cli/ember-cli/pull/5380.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/5380.patch"},"body":"Presently if one alias for `availableOptions` is a long word the help function for that command will still print the option with a single dash although the `--` version works as well.\r\n\r\ni.e.\r\nhttps://github.com/ember-cli/ember-cli/blob/282641ba662292afb40cb88cdf31557a3e4cc6b7/lib%2Fcommands%2Fbuild.js#L13\r\nwill be printed as `-dev` even if also `--dev` is supported.\r\n\r\nbefore this patch:\r\n```\r\naliases: -a <value>, -long-a <value>, -b (--test-option=c), -long-b (--test-option=c)\r\n```\r\n\r\nafter:\r\n```\r\naliases: -a <value>, --long-a <value>, -b (--test-option=c), --long-b (--test-option=c)\r\n```"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/173745651","html_url":"https://github.com/ember-cli/ember-cli/pull/5380#issuecomment-173745651","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5380","id":173745651,"user":{"login":"homu","id":10212162,"avatar_url":"https://avatars.githubusercontent.com/u/10212162?v=3","gravatar_id":"","url":"https://api.github.com/users/homu","html_url":"https://github.com/homu","followers_url":"https://api.github.com/users/homu/followers","following_url":"https://api.github.com/users/homu/following{/other_user}","gists_url":"https://api.github.com/users/homu/gists{/gist_id}","starred_url":"https://api.github.com/users/homu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homu/subscriptions","organizations_url":"https://api.github.com/users/homu/orgs","repos_url":"https://api.github.com/users/homu/repos","events_url":"https://api.github.com/users/homu/events{/privacy}","received_events_url":"https://api.github.com/users/homu/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T23:12:36Z","updated_at":"2016-01-21T23:12:36Z","body":":hourglass: Testing commit d05fcd0 with merge 9bade59..."}}