{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3757","labels_url":"https://api.github.com/repos/composer/composer/issues/3757/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3757/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3757/events","html_url":"https://github.com/composer/composer/issues/3757","id":58095095,"number":3757,"title":"Composer commands with a hyphen (self-update, clear-cache, etc.) don't require anything after the hyphen (self, clear, etc.)","user":{"login":"dlancea","id":227576,"avatar_url":"https://avatars.githubusercontent.com/u/227576?v=3","gravatar_id":"","url":"https://api.github.com/users/dlancea","html_url":"https://github.com/dlancea","followers_url":"https://api.github.com/users/dlancea/followers","following_url":"https://api.github.com/users/dlancea/following{/other_user}","gists_url":"https://api.github.com/users/dlancea/gists{/gist_id}","starred_url":"https://api.github.com/users/dlancea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlancea/subscriptions","organizations_url":"https://api.github.com/users/dlancea/orgs","repos_url":"https://api.github.com/users/dlancea/repos","events_url":"https://api.github.com/users/dlancea/events{/privacy}","received_events_url":"https://api.github.com/users/dlancea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-18T16:57:35Z","updated_at":"2015-02-19T08:29:50Z","closed_at":null,"body":"Running the command `composer self` or `composer self-upda` is the same as running `composer self-update`.\r\n\r\nJust a weird side effect of using hyphens in the command, I assume the rest of the command is interpreted as options, which are ignored(?).\r\n\r\nNot a big deal to leave this un-fixed, but it could lead to confusion."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/75014286","html_url":"https://github.com/composer/composer/issues/3757#issuecomment-75014286","issue_url":"https://api.github.com/repos/composer/composer/issues/3757","id":75014286,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T08:29:50Z","updated_at":"2015-02-19T08:29:50Z","body":"You can shorten any command as much as you'd like (as long as isn't ambigious). For example, `composer ins` will `install`, `composer ini` will run `init`, `composer u` will run `update`. This is a feature of Symfony Console component, not Composer."}}