{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/490","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/490/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/490/events","html_url":"https://github.com/odeke-em/drive/issues/490","id":118367488,"number":490,"title":"Failure to return --match *","user":{"login":"mitote","id":6729008,"avatar_url":"https://avatars.githubusercontent.com/u/6729008?v=3","gravatar_id":"","url":"https://api.github.com/users/mitote","html_url":"https://github.com/mitote","followers_url":"https://api.github.com/users/mitote/followers","following_url":"https://api.github.com/users/mitote/following{/other_user}","gists_url":"https://api.github.com/users/mitote/gists{/gist_id}","starred_url":"https://api.github.com/users/mitote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitote/subscriptions","organizations_url":"https://api.github.com/users/mitote/orgs","repos_url":"https://api.github.com/users/mitote/repos","events_url":"https://api.github.com/users/mitote/events{/privacy}","received_events_url":"https://api.github.com/users/mitote/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T12:03:38Z","updated_at":"2015-11-23T18:29:01Z","closed_at":null,"body":"works correctly in push pull  but...\r\n\r\nFails to return correct matches when attempting to list/stat files of a given type.\r\ncommand:\r\n    drive list gdrive/.../folder --match VOB\r\nreturns:\r\n    \"/../--matches\" cannot be found remotely\r\n    \"/../VOB\" cannot be found remotely\r\n   /.../all_files_in_folder\r\n\r\nlist still works, but does not match.\r\n"},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/159020716","html_url":"https://github.com/odeke-em/drive/issues/490#issuecomment-159020716","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/490","id":159020716,"user":{"login":"odeke-em","id":4898263,"avatar_url":"https://avatars.githubusercontent.com/u/4898263?v=3","gravatar_id":"","url":"https://api.github.com/users/odeke-em","html_url":"https://github.com/odeke-em","followers_url":"https://api.github.com/users/odeke-em/followers","following_url":"https://api.github.com/users/odeke-em/following{/other_user}","gists_url":"https://api.github.com/users/odeke-em/gists{/gist_id}","starred_url":"https://api.github.com/users/odeke-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odeke-em/subscriptions","organizations_url":"https://api.github.com/users/odeke-em/orgs","repos_url":"https://api.github.com/users/odeke-em/repos","events_url":"https://api.github.com/users/odeke-em/events{/privacy}","received_events_url":"https://api.github.com/users/odeke-em/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T18:29:01Z","updated_at":"2015-11-23T18:29:01Z","body":"Hello @mitote thanks for reporting this and welcome to drive!\r\n\r\nSo Go's command line parser accepts options first before arguments therefore to make your command work, please pass in the arguments with \"--\" before the arguments like this:\r\n```diff\r\n- drive list gdrive/.../folder --match VOB\r\n+ drive list --match VOB gdrive/.../folder\r\n```"}}