{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3526","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3526/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3526/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3526/events","html_url":"https://github.com/fish-shell/fish-shell/pull/3526","id":187538389,"number":3526,"title":"make `status` saner vis-a-vis arg parsing","user":{"login":"krader1961","id":7545917,"avatar_url":"https://avatars.githubusercontent.com/u/7545917?v=3","gravatar_id":"","url":"https://api.github.com/users/krader1961","html_url":"https://github.com/krader1961","followers_url":"https://api.github.com/users/krader1961/followers","following_url":"https://api.github.com/users/krader1961/following{/other_user}","gists_url":"https://api.github.com/users/krader1961/gists{/gist_id}","starred_url":"https://api.github.com/users/krader1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krader1961/subscriptions","organizations_url":"https://api.github.com/users/krader1961/orgs","repos_url":"https://api.github.com/users/krader1961/repos","events_url":"https://api.github.com/users/krader1961/events{/privacy}","received_events_url":"https://api.github.com/users/krader1961/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-06T03:00:02Z","updated_at":"2016-11-06T04:00:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/3526","html_url":"https://github.com/fish-shell/fish-shell/pull/3526","diff_url":"https://github.com/fish-shell/fish-shell/pull/3526.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/3526.patch"},"body":"## Note\r\n\r\nNow that we have two sets of functions that perform string-to-enum and enum-to-string translations it makes sense to generalize this and make functions that take a table which defines the legal mappings. I'll do that in a separate change.\r\n\r\n## Description\r\n\r\nThe `status` command currently silently allows incompatible flags (i.e.,\r\nsubcommands). Too, using flags to specify subcommands misleads the user\r\ninto thinking they can specify multiple subcommands.\r\n\r\nWe recently modified the `history` command to deprecate using flags for\r\nsubcommands. This change does the same for the `status` command.\r\n\r\nFixes #3509"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/258659015","html_url":"https://github.com/fish-shell/fish-shell/pull/3526#issuecomment-258659015","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3526","id":258659015,"user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T04:00:32Z","updated_at":"2016-11-06T04:00:32Z","body":"Otherwise, I don't really see much advantage to changing this. It seems unnecessary."}}
{"actor":{"display_login":"floam"}}