{"action":"created","issue":{"url":"https://api.github.com/repos/bcoe/yargs/issues/360","labels_url":"https://api.github.com/repos/bcoe/yargs/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/yargs/issues/360/comments","events_url":"https://api.github.com/repos/bcoe/yargs/issues/360/events","html_url":"https://github.com/bcoe/yargs/issues/360","id":129639046,"number":360,"title":"String arguments that contain dashes do not parse properly","user":{"login":"andyburke","id":273857,"avatar_url":"https://avatars.githubusercontent.com/u/273857?v=3","gravatar_id":"","url":"https://api.github.com/users/andyburke","html_url":"https://github.com/andyburke","followers_url":"https://api.github.com/users/andyburke/followers","following_url":"https://api.github.com/users/andyburke/following{/other_user}","gists_url":"https://api.github.com/users/andyburke/gists{/gist_id}","starred_url":"https://api.github.com/users/andyburke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyburke/subscriptions","organizations_url":"https://api.github.com/users/andyburke/orgs","repos_url":"https://api.github.com/users/andyburke/repos","events_url":"https://api.github.com/users/andyburke/events{/privacy}","received_events_url":"https://api.github.com/users/andyburke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-29T01:51:38Z","updated_at":"2016-01-29T05:22:17Z","closed_at":null,"body":"Eg:\r\n\r\n```\r\nfoo -a 'aaa' -b 'bbb' command \"-- string with dashes in it --\"\r\n```\r\n\r\nThis will fall afoul of this case:\r\n\r\nhttps://github.com/bcoe/yargs/blob/master/lib/parser.js#L103\r\n\r\nI ran into this trying to encrypt a private ssh key using [cryptex](https://github.com/TechnologyAdvice/Cryptex).\r\n"},"comment":{"url":"https://api.github.com/repos/bcoe/yargs/issues/comments/176580571","html_url":"https://github.com/bcoe/yargs/issues/360#issuecomment-176580571","issue_url":"https://api.github.com/repos/bcoe/yargs/issues/360","id":176580571,"user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T05:22:17Z","updated_at":"2016-01-29T05:22:17Z","body":"@andyburke good find, would you like to submit a failing test?"}}