diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-13 19:22:29 -0500 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-14 15:03:11 -0500 |
commit | a7a691809a3125cce691c7934a98a2511b9cb6db (patch) | |
tree | 0858caddc0d93f7a8fe2ae4f3654a822c97ec66f /cmd/podman/common.go | |
parent | dd82acd8ba02be51ec5fea65584e1f7b2036d7c8 (diff) | |
download | podman-a7a691809a3125cce691c7934a98a2511b9cb6db.tar.gz podman-a7a691809a3125cce691c7934a98a2511b9cb6db.tar.bz2 podman-a7a691809a3125cce691c7934a98a2511b9cb6db.zip |
Add examples for Cobra
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
First pass of entries for the Examples listed in the Cobra
Help. Will add others in following PR's.
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 417e938b7..ec755c4a8 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -514,7 +514,7 @@ Aliases: {{.NameAndAliases}}{{end}}{{if .HasExample}} Examples: -{{.Example}}{{end}}{{if .HasAvailableSubCommands}} + {{.Example}}{{end}}{{if .HasAvailableSubCommands}} Available Commands:{{range .Commands}}{{if (or .IsAvailableCommand (eq .Name "help"))}} {{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}{{end}}{{if .HasAvailableLocalFlags}} |