diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-15 00:07:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 00:07:34 +0100 |
commit | 81ace5caaca844eda4be48245590ea54bdd0cba3 (patch) | |
tree | 31313c4e0ef1730bf89014a1461aa5d6e0a71c65 /cmd/podman/commit.go | |
parent | ae8cc41295c4ff6f6f82372221c66c250691e4f6 (diff) | |
parent | a7a691809a3125cce691c7934a98a2511b9cb6db (diff) | |
download | podman-81ace5caaca844eda4be48245590ea54bdd0cba3.tar.gz podman-81ace5caaca844eda4be48245590ea54bdd0cba3.tar.bz2 podman-81ace5caaca844eda4be48245590ea54bdd0cba3.zip |
Merge pull request #2333 from TomSweeneyRedHat/dev/tsweeney/helpexamples
Add examples for Cobra
Diffstat (limited to 'cmd/podman/commit.go')
-rw-r--r-- | cmd/podman/commit.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/commit.go b/cmd/podman/commit.go index dc53e68d1..d8ced0e36 100644 --- a/cmd/podman/commit.go +++ b/cmd/podman/commit.go @@ -33,7 +33,9 @@ var ( commitCommand.GlobalFlags = MainGlobalOpts return commitCmd(&commitCommand) }, - Example: "CONTAINER [REPOSITORY[:TAG]]", + Example: `podman commit -q --message "committing container to image" reverent_golick image-commited + podman commit -q --author "firstName lastName" reverent_golick image-commited + podman commit -q --pause=false containerID image-commited`, } ) |