commit | 15dbf0d390eee35f1156dbbaea8ff6fbccbc4986 | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Tue Dec 30 13:29:30 2014 -0800 |
committer | Bogdan Caprita <caprita@google.com> | Tue Dec 30 13:29:33 2014 -0800 |
tree | 48936dca6f78b5d9bc482be27cd6ab7becffa0e0 | |
parent | 8fc153b27d006beeffd53201d321679888b2d4d8 [diff] |
cmdline: add a warning about defining flags on the root command. Making root command flags work in tools that also parse os.Args via the global flag set is tricky, brittle, and best avoided. Change-Id: I214596230e16a56c92286581af2cdd5ab3538093