{"action":"closed","issue":{"url":"https://api.github.com/repos/coreos/etcd/issues/2211","labels_url":"https://api.github.com/repos/coreos/etcd/issues/2211/labels{/name}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/2211/comments","events_url":"https://api.github.com/repos/coreos/etcd/issues/2211/events","html_url":"https://github.com/coreos/etcd/issues/2211","id":56319595,"number":2211,"title":"--version is broken","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-03T01:15:14Z","updated_at":"2015-02-10T07:18:35Z","closed_at":"2015-02-10T07:18:35Z","body":"```\r\nalex@alex ~/trunk/src/scripts $ /build/amd64-usr/usr/libexec/etcd/internal_versions/2.0.0 --version\r\nflag needs an argument: -version\r\nUsage of full flagset:\r\n  -addr=: \r\n  -advertise-client-urls=: \r\n  -bind-addr=: \r\n  -ca-file=: \r\n  -cert-file=: \r\n  -cluster-active-size=: \r\n  -cluster-remove-delay=: \r\n  -cluster-sync-interval=: \r\n  -config=: \r\n  -cors=: \r\n  -data-dir=: \r\n  -discovery=: \r\n  -discovery-fallback=: \r\n  -discovery-proxy=: \r\n  -discovery-srv=: \r\n  -election-timeout=: \r\n  -force=: \r\n  -force-new-cluster=: \r\n  -heartbeat-interval=: \r\n  -initial-advertise-peer-urls=: \r\n  -initial-cluster=: \r\n  -initial-cluster-state=: \r\n  -initial-cluster-token=: \r\n  -key-file=: \r\n  -listen-client-urls=: \r\n  -listen-peer-urls=: \r\n  -max-result-buffer=: \r\n  -max-retry-attempts=: \r\n  -max-snapshots=: \r\n  -max-wals=: \r\n  -name=: \r\n  -peer-addr=: \r\n  -peer-bind-addr=: \r\n  -peer-ca-file=: \r\n  -peer-cert-file=: \r\n  -peer-election-timeout=: \r\n  -peer-heartbeat-interval=: \r\n  -peer-key-file=: \r\n  -peers=: \r\n  -peers-file=: \r\n  -proxy=: \r\n  -retry-interval=: \r\n  -snapshot=: \r\n  -snapshot-count=: \r\n  -v=: \r\n  -version=: \r\n  -vv=: \r\netcd version 2.0.0\r\n```\r\n\r\n```\r\nalex@alex ~/trunk/src/scripts $ /build/amd64-usr/usr/libexec/etcd/internal_versions/2.0.0 --version=1\r\n2015/02/02 17:13:57 migrate: please set ETCD_DATA_DIR for etcd\r\n```"}}