{"action":"created","issue":{"url":"https://api.github.com/repos/Minio-io/minio/issues/89","labels_url":"https://api.github.com/repos/Minio-io/minio/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Minio-io/minio/issues/89/comments","events_url":"https://api.github.com/repos/Minio-io/minio/issues/89/events","html_url":"https://github.com/Minio-io/minio/issues/89","id":55843232,"number":89,"title":"Minio cli odd behavior after using cobra","user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T01:31:41Z","updated_at":"2015-01-29T01:32:42Z","closed_at":null,"body":"Doesn't work \r\n\r\n~~~\r\n> ./minio --tls --key key.pem --cert cert.pem\r\nflag needs an argument: --key\r\n\r\nUsage: \r\n  minio [flags]\r\n\r\n Available Flags:\r\n  -c, --cert=\"\": cert file path\r\n  -h, --help=false: help for minio\r\n  -a, --http-address=\":8080\": http address\r\n  -k, --key=\"\": key file path\r\n  -s, --storage-type=\"file\": file,inmemory\r\n  -t, --tls=false: enable tls\r\n~~~\r\n\r\nWorks with following styles\r\n\r\n~~~\r\n./minio --tls -k key.pem -c cert.pem\r\n2015/01/28 17:29:27 Starting HTTP Server on: :8080\r\n~~~\r\n\r\n~~~\r\n ./minio --tls --key=key.pem --cert=cert.pem\r\n2015/01/28 17:30:07 Starting HTTP Server on: :8080\r\n~~~\r\n\r\nThis is a odd behavior which didn't exist with Codegangsta, i guess the issue is cobra implementation which doesn't honor certain inputs under long form args\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Minio-io/minio/issues/comments/71953086","html_url":"https://github.com/Minio-io/minio/issues/89#issuecomment-71953086","issue_url":"https://api.github.com/repos/Minio-io/minio/issues/89","id":71953086,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T01:32:42Z","updated_at":"2015-01-29T01:32:42Z","body":"@fkautz ^^ "}}