summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_stats.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-14 17:12:16 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-15 14:38:46 -0500
commit72b91eb87f7a9c8e637f337e078b4adab4198f33 (patch)
tree65b3a931f14ca3db890afbbe34ead5d5ded5c0a1 /cmd/podman/pod_stats.go
parent9c1b08fd79012c12d478edb13f6057a0414762db (diff)
downloadpodman-72b91eb87f7a9c8e637f337e078b4adab4198f33.tar.gz
podman-72b91eb87f7a9c8e637f337e078b4adab4198f33.tar.bz2
podman-72b91eb87f7a9c8e637f337e078b4adab4198f33.zip
Second chunk of Cobra help
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds examples to Cobra help for a second chunk of commands. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/pod_stats.go')
-rw-r--r--cmd/podman/pod_stats.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/pod_stats.go b/cmd/podman/pod_stats.go
index 7afab6be9..b1779532f 100644
--- a/cmd/podman/pod_stats.go
+++ b/cmd/podman/pod_stats.go
@@ -32,7 +32,9 @@ var (
podStatsCommand.GlobalFlags = MainGlobalOpts
return podStatsCmd(&podStatsCommand)
},
- Example: "[POD_NAME_OR_ID]",
+ Example: `podman stats -a --no-stream
+ podman stats --no-reset ctrID
+ podman stats --no-stream --format "table {{.ID}} {{.Name}} {{.MemUsage}}" ctrID`,
}
)