summaryrefslogtreecommitdiff
path: root/cmd/podman/cleanup.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-26 14:11:27 -0700
committerEd Santiago <santiago@redhat.com>2019-02-26 18:10:36 -0700
commita20ff42134e0b4e3ba9d26c25d93df50e637fd69 (patch)
treec823944460b9b2c06f87b2db31a2b970ad76652a /cmd/podman/cleanup.go
parentee667dcf97df4ed38b2046b33911dad882829bf8 (diff)
downloadpodman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.tar.gz
podman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.tar.bz2
podman-a20ff42134e0b4e3ba9d26c25d93df50e637fd69.zip
Better usage synopses for subcommands
Conceptually simple: include, where applicable, a brief description of command-line options for each subcommand. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd/podman/cleanup.go')
-rw-r--r--cmd/podman/cleanup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/cleanup.go b/cmd/podman/cleanup.go
index 33d456643..fbbd337a7 100644
--- a/cmd/podman/cleanup.go
+++ b/cmd/podman/cleanup.go
@@ -18,7 +18,7 @@ var (
Cleans up mount points and network stacks on one or more containers from the host. The container name or ID can be used. This command is used internally when running containers, but can also be used if container cleanup has failed when a container exits.
`
_cleanupCommand = &cobra.Command{
- Use: "cleanup",
+ Use: "cleanup [flags] CONTAINER [CONTAINER...]",
Short: "Cleanup network and mountpoints of one or more containers",
Long: cleanupDescription,
RunE: func(cmd *cobra.Command, args []string) error {