summaryrefslogtreecommitdiff
path: root/cmd/podman/stats.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 15:00:07 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 15:18:42 -0500
commit64853710e87ba124561653cb5d62ca3a653b4170 (patch)
treee9c2ae68cc8a3a2c8dd318abcfb72dba55a2108c /cmd/podman/stats.go
parente738ef16225395f5f5e4b93ba1a43ae9449ae11b (diff)
downloadpodman-64853710e87ba124561653cb5d62ca3a653b4170.tar.gz
podman-64853710e87ba124561653cb5d62ca3a653b4170.tar.bz2
podman-64853710e87ba124561653cb5d62ca3a653b4170.zip
Add 4th chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds the 4th chunk of Cobra Examples to the CLI help. One more chunk of 10 to complete. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/stats.go')
-rw-r--r--cmd/podman/stats.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/stats.go b/cmd/podman/stats.go
index af9bbad0e..642e54f49 100644
--- a/cmd/podman/stats.go
+++ b/cmd/podman/stats.go
@@ -41,7 +41,9 @@ var (
statsCommand.GlobalFlags = MainGlobalOpts
return statsCmd(&statsCommand)
},
- Example: "",
+ Example: `podman stats --all --no-stream
+ podman stats ctrID
+ podman stats --no-stream --format "table {{.ID}} {{.Name}} {{.MemUsage}}" ctrID`,
}
)