{"action":"created","issue":{"url":"https://api.github.com/repos/TeXitoi/structopt/issues/41","repository_url":"https://api.github.com/repos/TeXitoi/structopt","labels_url":"https://api.github.com/repos/TeXitoi/structopt/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/TeXitoi/structopt/issues/41/comments","events_url":"https://api.github.com/repos/TeXitoi/structopt/issues/41/events","html_url":"https://github.com/TeXitoi/structopt/issues/41","id":282534949,"number":41,"title":"Support allow_hyphen_values","user":{"login":"coder543","id":726063,"avatar_url":"https://avatars2.githubusercontent.com/u/726063?v=4","gravatar_id":"","url":"https://api.github.com/users/coder543","html_url":"https://github.com/coder543","followers_url":"https://api.github.com/users/coder543/followers","following_url":"https://api.github.com/users/coder543/following{/other_user}","gists_url":"https://api.github.com/users/coder543/gists{/gist_id}","starred_url":"https://api.github.com/users/coder543/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coder543/subscriptions","organizations_url":"https://api.github.com/users/coder543/orgs","repos_url":"https://api.github.com/users/coder543/repos","events_url":"https://api.github.com/users/coder543/events{/privacy}","received_events_url":"https://api.github.com/users/coder543/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-15T20:10:05Z","updated_at":"2017-12-15T22:58:33Z","closed_at":null,"author_association":"NONE","body":"Currently, providing a negative value for an integer parameter results in an error about an unexpected argument. It would be nice if `structopt`  supported `clap`'s `allow_hyphen_values` option. `structopt` actually seems to, but only on Nightly, since you have to do...\r\n\r\n    #[structopt(allow_hyphen_values=true, long = \"timezone\", default_value = \"-4\", help = \"Specifies the timezone as the hours of offset from UTC.\")]\r\n\r\nand that literal `true` value requires `#![feature(attr_literals)]` to work currently."},"comment":{"url":"https://api.github.com/repos/TeXitoi/structopt/issues/comments/352132778","html_url":"https://github.com/TeXitoi/structopt/issues/41#issuecomment-352132778","issue_url":"https://api.github.com/repos/TeXitoi/structopt/issues/41","id":352132778,"user":{"login":"TeXitoi","id":5787066,"avatar_url":"https://avatars0.githubusercontent.com/u/5787066?v=4","gravatar_id":"","url":"https://api.github.com/users/TeXitoi","html_url":"https://github.com/TeXitoi","followers_url":"https://api.github.com/users/TeXitoi/followers","following_url":"https://api.github.com/users/TeXitoi/following{/other_user}","gists_url":"https://api.github.com/users/TeXitoi/gists{/gist_id}","starred_url":"https://api.github.com/users/TeXitoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeXitoi/subscriptions","organizations_url":"https://api.github.com/users/TeXitoi/orgs","repos_url":"https://api.github.com/users/TeXitoi/repos","events_url":"https://api.github.com/users/TeXitoi/events{/privacy}","received_events_url":"https://api.github.com/users/TeXitoi/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T22:58:33Z","updated_at":"2017-12-15T22:58:33Z","author_association":"OWNER","body":"Side note: timezone can be half and quarter of an hour. Look at India :'-("}}
{"actor":{"display_login":"TeXitoi"}}