~themue/juju-core/go-provisioning-test-fix

Viewing all changes in revision 152.

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-05-04 08:05:04 UTC
  • mfrom: (142.3.8 go)
  • Revision ID: fwereade@gmail.com-20120504080504-64d6cgxy1yui8vyi
Add hopefully-reusable --output and --format flags to config-get

Format defaults to "smart", as in python, but does not produce the same
output: it produces go-specific stringifications rather than python-specific
ones. Since "smart" python output was clearly never intended to be (easily)
machine-readable (or it would have used repr) this has been agreed to be
equivalent enough.

R=rog, niemeyer
CC=
https://codereview.appspot.com/6165044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: