{"action":"opened","issue":{"url":"https://api.github.com/repos/BurntSushi/xsv/issues/7","labels_url":"https://api.github.com/repos/BurntSushi/xsv/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/xsv/issues/7/comments","events_url":"https://api.github.com/repos/BurntSushi/xsv/issues/7/events","html_url":"https://github.com/BurntSushi/xsv/issues/7","id":63836318,"number":7,"title":"Friendlier help facility and unrecognized command errors","user":{"login":"ldcasillas-progreso","id":8095446,"avatar_url":"https://avatars.githubusercontent.com/u/8095446?v=3","gravatar_id":"","url":"https://api.github.com/users/ldcasillas-progreso","html_url":"https://github.com/ldcasillas-progreso","followers_url":"https://api.github.com/users/ldcasillas-progreso/followers","following_url":"https://api.github.com/users/ldcasillas-progreso/following{/other_user}","gists_url":"https://api.github.com/users/ldcasillas-progreso/gists{/gist_id}","starred_url":"https://api.github.com/users/ldcasillas-progreso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldcasillas-progreso/subscriptions","organizations_url":"https://api.github.com/users/ldcasillas-progreso/orgs","repos_url":"https://api.github.com/users/ldcasillas-progreso/repos","events_url":"https://api.github.com/users/ldcasillas-progreso/events{/privacy}","received_events_url":"https://api.github.com/users/ldcasillas-progreso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T21:23:44Z","updated_at":"2015-03-23T21:23:44Z","closed_at":null,"body":"When I issue the command `xsv help` , this happens:\r\n\r\n    % xsv help\r\n    Could not match 'help' with any of the allowed variants: [\"Cat\", \"Count\", \"FixLengths\", \"Flatten\", \"Fmt\", \"Frequency\", \"Headers\", \"Index\", \"Join\", \"Sample\", \"Search\", \"Select\", \"Slice\", \"Sort\", \"Split\", \"Stats\", \"Table\"]\r\n\r\nBecause xsv is structured around the `xsv <command> [<args> ...]` paradigm, I find myself running into this all the time, and I can't imagine I'm the only one who will. \r\n\r\nI'm guessing it's low effort and high value to:\r\n\r\n1. Add an actual `xsv help` subcommand\r\n2. Dispatch `xsv help <command>` to the same code as `xsv <command> --help` (when `<command>` exists)\r\n3. Dispatch to the same code as `xsv --help` when the user issues `xsv help` or `xsv help <command>` for a non-existent command.\r\n"}}