{"action":"opened","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2294","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2294/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2294/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2294/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2294","id":100350123,"number":2294,"title":"command -s causes \"Unknown option\" error in Cygwin","user":{"login":"andrex-e-schulman","id":4379203,"avatar_url":"https://avatars.githubusercontent.com/u/4379203?v=3","gravatar_id":"","url":"https://api.github.com/users/andrex-e-schulman","html_url":"https://github.com/andrex-e-schulman","followers_url":"https://api.github.com/users/andrex-e-schulman/followers","following_url":"https://api.github.com/users/andrex-e-schulman/following{/other_user}","gists_url":"https://api.github.com/users/andrex-e-schulman/gists{/gist_id}","starred_url":"https://api.github.com/users/andrex-e-schulman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrex-e-schulman/subscriptions","organizations_url":"https://api.github.com/users/andrex-e-schulman/orgs","repos_url":"https://api.github.com/users/andrex-e-schulman/repos","events_url":"https://api.github.com/users/andrex-e-schulman/events{/privacy}","received_events_url":"https://api.github.com/users/andrex-e-schulman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T16:16:04Z","updated_at":"2015-08-11T16:16:04Z","closed_at":null,"body":"In fish 2.2.0:\r\n\r\n    ASchulma@LC77E1AASCHULMA ~> command -s ls\r\n    command: Unknown option 'ls'\r\n    \r\n           command -- run a program\r\n\r\nand so on.  In particular this breaks the `type` function, which calls `command -s`:\r\n\r\n    ASchulma@LC77E1AASCHULMA ~> type bash\r\n    command: Unknown option '--'\r\n    /usr/share/fish/functions/type.fish (line 3): command -s -- $i\r\n\r\n`type` is a very important function, so this makes fish 2.2.0 not ready to deploy in Cygwin.\r\n\r\nPlease label this issue as \"bug\" and \"Windows\"."}}