func (c *OutputCommand) Init(args []string) error { return cmd.CheckEmpty(args) }
func (s *CmdSuite) TestCheckEmpty(c *gc.C) { c.Assert(cmd.CheckEmpty(nil), gc.IsNil) c.Assert(cmd.CheckEmpty([]string{"boo!"}), gc.ErrorMatches, `unrecognized args: \["boo!"\]`) }