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/attach.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman/attach.go') diff --git a/cmd/podman/attach.go b/cmd/podman/attach.go index ed175bdf4..7480bd6a2 100644 --- a/cmd/podman/attach.go +++ b/cmd/podman/attach.go @@ -22,7 +22,9 @@ var ( attachCommand.GlobalFlags = MainGlobalOpts return attachCmd(&attachCommand) }, - Example: "", + Example: `podman attach ctrID + podman attach 1234 + podman attach --no-stdin foobar`, } ) -- cgit v1.2.3-54-g00ecf