juju/cmd — pull request #3 by rogpeppe (2014-06-16 11:00:28+00:00)
Title: simplify FormatSmart to correspond with docs

Also run gofmt.

This is an alternative fix to https://github.com/juju/cmd/pull/2