From 72b91eb87f7a9c8e637f337e078b4adab4198f33 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Thu, 14 Feb 2019 17:12:16 -0500 Subject: Second chunk of Cobra help Signed-off-by: TomSweeneyRedHat Adds examples to Cobra help for a second chunk of commands. Signed-off-by: TomSweeneyRedHat --- cmd/podman/pod_top.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman/pod_top.go') diff --git a/cmd/podman/pod_top.go b/cmd/podman/pod_top.go index 411c782bd..790118496 100644 --- a/cmd/podman/pod_top.go +++ b/cmd/podman/pod_top.go @@ -33,7 +33,9 @@ the latest pod. podTopCommand.GlobalFlags = MainGlobalOpts return podTopCmd(&podTopCommand) }, - Example: "POD-NAME [format descriptors]", + Example: `podman top ctrID + podman top --latest + podman top --latest pid seccomp args %C`, } ) -- cgit v1.2.3-54-g00ecf