coreos/etcd — pull request #1640 by yichengq (2014-11-06 21:52:53+00:00)
Title: etcdmain: extract etcdFlagSet from main function

1. This makes code easier to read.
2. We are able to do unit tests on our own flagset.
3. Get rid of global variables.

helps #1399