{"action":"opened","issue":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/121","labels_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/121/comments","events_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/121/events","html_url":"https://github.com/kbknapp/clap-rs/issues/121","id":77301594,"number":121,"title":"'-' value argument cannot be parsed","user":{"login":"Byron","id":63622,"avatar_url":"https://avatars.githubusercontent.com/u/63622?v=3","gravatar_id":"","url":"https://api.github.com/users/Byron","html_url":"https://github.com/Byron","followers_url":"https://api.github.com/users/Byron/followers","following_url":"https://api.github.com/users/Byron/following{/other_user}","gists_url":"https://api.github.com/users/Byron/gists{/gist_id}","starred_url":"https://api.github.com/users/Byron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Byron/subscriptions","organizations_url":"https://api.github.com/users/Byron/orgs","repos_url":"https://api.github.com/users/Byron/repos","events_url":"https://api.github.com/users/Byron/events{/privacy}","received_events_url":"https://api.github.com/users/Byron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-17T12:36:43Z","updated_at":"2015-05-17T12:36:43Z","closed_at":null,"body":"In an argument like the following: \r\n\r\n```Rust\r\nArg::with_name(\"foo\")\r\n                               .short(\"f\")\r\n                               .required(true)\r\n                               .takes_value(true)\r\n```\r\n\r\nIt seems impossible to provide a value that is or starts with a `-`. The latter is common to specify that input should be read from stdin, instead of from a file.\r\n\r\nThe actual output in my current (toy) program is:\r\n\r\n```\r\n$ trains -n -\r\nThe argument '--network <network>' requires a value but none was supplied\r\n\r\nUSAGE:\r\n\ttrains --network <network>\r\n\r\nFor more information try --help\r\n```"}}