{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/742","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/742/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/742/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/742/events","html_url":"https://github.com/yarnpkg/yarn/issues/742","id":182377946,"number":742,"title":"`yarn -v` is equivalent to `yarn`","user":{"login":"ithinkihaveacat","id":51244,"avatar_url":"https://avatars.githubusercontent.com/u/51244?v=3","gravatar_id":"","url":"https://api.github.com/users/ithinkihaveacat","html_url":"https://github.com/ithinkihaveacat","followers_url":"https://api.github.com/users/ithinkihaveacat/followers","following_url":"https://api.github.com/users/ithinkihaveacat/following{/other_user}","gists_url":"https://api.github.com/users/ithinkihaveacat/gists{/gist_id}","starred_url":"https://api.github.com/users/ithinkihaveacat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ithinkihaveacat/subscriptions","organizations_url":"https://api.github.com/users/ithinkihaveacat/orgs","repos_url":"https://api.github.com/users/ithinkihaveacat/repos","events_url":"https://api.github.com/users/ithinkihaveacat/events{/privacy}","received_events_url":"https://api.github.com/users/ithinkihaveacat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T21:22:38Z","updated_at":"2016-10-11T23:59:22Z","closed_at":null,"body":"**Do you want to request a *feature* or report a *bug*?**\r\n\r\nBug.\r\n\r\n**What is the current behavior?**\r\n\r\nUnknown arguments seem to be ignored, which leads to unexpected behavior like `yarn -v` installing modules.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nType `yarn -v` in a directory with a `package.json` file.\r\n\r\n**What is the expected behavior?**\r\n\r\nEither the version number is output (i.e. equivalent to `yarn -V` or `yarn --version`) or `yarn` warns about an unknown argument, and does nothing.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\n```sh\r\n$ node -v\r\nv6.7.0\r\n$ yarn -V\r\n0.15.1\r\n$ uname -a\r\nDarwin kapow.local 16.0.0 Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64\r\n```"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/253081613","html_url":"https://github.com/yarnpkg/yarn/issues/742#issuecomment-253081613","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/742","id":253081613,"user":{"login":"serkanyersen","id":30582,"avatar_url":"https://avatars.githubusercontent.com/u/30582?v=3","gravatar_id":"","url":"https://api.github.com/users/serkanyersen","html_url":"https://github.com/serkanyersen","followers_url":"https://api.github.com/users/serkanyersen/followers","following_url":"https://api.github.com/users/serkanyersen/following{/other_user}","gists_url":"https://api.github.com/users/serkanyersen/gists{/gist_id}","starred_url":"https://api.github.com/users/serkanyersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkanyersen/subscriptions","organizations_url":"https://api.github.com/users/serkanyersen/orgs","repos_url":"https://api.github.com/users/serkanyersen/repos","events_url":"https://api.github.com/users/serkanyersen/events{/privacy}","received_events_url":"https://api.github.com/users/serkanyersen/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T23:59:22Z","updated_at":"2016-10-11T23:59:22Z","body":"I don't know what is the exact reason but they [specifically allowed this](https://github.com/yarnpkg/yarn/blob/126d8c21f56466826e4cc9d43b66123872b982fe/src/cli/index.js#L60)"}}
{"actor":{"display_login":"serkanyersen"}}