{"action":"created","issue":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/589","repository_url":"https://api.github.com/repos/kbknapp/clap-rs","labels_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/589/labels{/name}","comments_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/589/comments","events_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/589/events","html_url":"https://github.com/kbknapp/clap-rs/issues/589","id":167173294,"number":589,"title":"Document AppSetting::DisableVersion","user":{"login":"brennie","id":156585,"avatar_url":"https://avatars.githubusercontent.com/u/156585?v=3","gravatar_id":"","url":"https://api.github.com/users/brennie","html_url":"https://github.com/brennie","followers_url":"https://api.github.com/users/brennie/followers","following_url":"https://api.github.com/users/brennie/following{/other_user}","gists_url":"https://api.github.com/users/brennie/gists{/gist_id}","starred_url":"https://api.github.com/users/brennie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brennie/subscriptions","organizations_url":"https://api.github.com/users/brennie/orgs","repos_url":"https://api.github.com/users/brennie/repos","events_url":"https://api.github.com/users/brennie/events{/privacy}","received_events_url":"https://api.github.com/users/brennie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-23T07:47:05Z","updated_at":"2016-07-23T19:59:11Z","closed_at":null,"body":"Currently, the `AppSetting::DisableVersion` setting is undocumented. From what I can tell, this setting is used to disable version flag on subcommand when the app (or super-command) uses `AppSettings::VersionlessSubcommands`.\r\n\r\nHowever, if a user would like to not have a global `-V, --version` flag for their program, this setting will still work. I feel like this should be documented as it is genuinely useful."},"comment":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/comments/234737125","html_url":"https://github.com/kbknapp/clap-rs/issues/589#issuecomment-234737125","issue_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/589","id":234737125,"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-07-23T19:59:11Z","updated_at":"2016-07-23T19:59:11Z","body":"@brennie It's used internally, and wasn't designed to be used publicly. This isn't to say it couldn't become public, but as of right now if one wishes to *not* have the `-V, --version` generated for subcommands, one can use [`AppSettings::VersionlessSubcommands`](http://kbknapp.github.io/clap-rs/clap/enum.AppSettings.html#variant.VersionlessSubcommands)"}}
{"actor":{"display_login":"kbknapp"}}