{"action":"created","issue":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/518","repository_url":"https://api.github.com/repos/kbknapp/clap-rs","labels_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/518/comments","events_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/518/events","html_url":"https://github.com/kbknapp/clap-rs/issues/518","id":157883391,"number":518,"title":"usage: Put positional args direclty in usage string","user":{"login":"kamalmarhubi","id":50936,"avatar_url":"https://avatars.githubusercontent.com/u/50936?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmarhubi","html_url":"https://github.com/kamalmarhubi","followers_url":"https://api.github.com/users/kamalmarhubi/followers","following_url":"https://api.github.com/users/kamalmarhubi/following{/other_user}","gists_url":"https://api.github.com/users/kamalmarhubi/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmarhubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmarhubi/subscriptions","organizations_url":"https://api.github.com/users/kamalmarhubi/orgs","repos_url":"https://api.github.com/users/kamalmarhubi/repos","events_url":"https://api.github.com/users/kamalmarhubi/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmarhubi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-01T11:25:03Z","updated_at":"2016-06-01T23:18:29Z","closed_at":null,"body":"If I have just one optional positional arg say `FILE`, it should show up directly in the usage string, instead of as `[ARGS]`. If it's required it shows up as `<FILE>`, but if it's optional I get `[ARGS]` with it listed under the `ARGS` section in help. I'd prefer `[FILE]` directly in usage."},"comment":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/comments/223153183","html_url":"https://github.com/kbknapp/clap-rs/issues/518#issuecomment-223153183","issue_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/518","id":223153183,"user":{"login":"kbknapp","id":6942134,"avatar_url":"https://avatars.githubusercontent.com/u/6942134?v=3","gravatar_id":"","url":"https://api.github.com/users/kbknapp","html_url":"https://github.com/kbknapp","followers_url":"https://api.github.com/users/kbknapp/followers","following_url":"https://api.github.com/users/kbknapp/following{/other_user}","gists_url":"https://api.github.com/users/kbknapp/gists{/gist_id}","starred_url":"https://api.github.com/users/kbknapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbknapp/subscriptions","organizations_url":"https://api.github.com/users/kbknapp/orgs","repos_url":"https://api.github.com/users/kbknapp/repos","events_url":"https://api.github.com/users/kbknapp/events{/privacy}","received_events_url":"https://api.github.com/users/kbknapp/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T23:18:29Z","updated_at":"2016-06-01T23:18:29Z","body":"I hadn't thought about that before, I like that. My only concern would be handling conflicts, or if users get confused why adding more positional args makes them disappear from the default usage string.\n\nThoughts?"}}
{"actor":{"display_login":"kbknapp"}}