~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/worker/uniter/runner/jujuc/storage-list_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
        ctx := testing.Context(c)
106
106
        code := cmd.Main(com, ctx, []string{"--help"})
107
107
        c.Assert(code, gc.Equals, 0)
108
 
        c.Assert(bufferString(ctx.Stdout), gc.Equals, `usage: storage-list [options] [<storage-name>]
109
 
purpose: list storage attached to the unit
110
 
 
111
 
options:
 
108
        c.Assert(bufferString(ctx.Stdout), gc.Equals, `Usage: storage-list [options] [<storage-name>]
 
109
 
 
110
Summary:
 
111
list storage attached to the unit
 
112
 
 
113
Options:
112
114
--format  (= smart)
113
115
    specify output format (json|smart|yaml)
114
116
-o, --output (= "")
115
117
    specify an output file
116
118
 
 
119
Details:
117
120
storage-list will list the names of all storage instances
118
121
attached to the unit. These names can be passed to storage-get
119
122
via the "-s" flag to query the storage attributes.