From b62c0e703d70439c677205fb423e81491e8d1cf9 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Sun, 17 Feb 2019 11:14:10 -0500 Subject: Add 3rd chunk of Cobra examples Signed-off-by: TomSweeneyRedHat Adds the third chunk of Cobra examples to the cli help. As were putting together a release tomorrow, tried to hit the heavy commands with this PR. Signed-off-by: TomSweeneyRedHat --- cmd/podman/run.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman/run.go') diff --git a/cmd/podman/run.go b/cmd/podman/run.go index 64f8b6856..05e75e4b8 100644 --- a/cmd/podman/run.go +++ b/cmd/podman/run.go @@ -30,7 +30,9 @@ var ( runCommand.GlobalFlags = MainGlobalOpts return runCmd(&runCommand) }, - Example: "IMAGE [COMMAND [ARG...]]", + Example: `podman run imageID ls -alF /etc + podman run --net=host imageID dnf -y install java + podman run --volume /var/hostdir:/var/ctrdir -i -t fedora /bin/bash`, } ) -- cgit v1.2.3-54-g00ecf