summaryrefslogtreecommitdiff
path: root/cmd/podman/kill.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/kill.go')
-rw-r--r--cmd/podman/kill.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/kill.go b/cmd/podman/kill.go
index 04c0fd531..d922cf721 100644
--- a/cmd/podman/kill.go
+++ b/cmd/podman/kill.go
@@ -34,13 +34,13 @@ var (
func init() {
killCommand.Command = _killCommand
+ killCommand.SetUsageTemplate(UsageTemplate())
flags := killCommand.Flags()
flags.BoolVarP(&killCommand.All, "all", "a", false, "Signal all running containers")
flags.StringVarP(&killCommand.Signal, "signal", "s", "KILL", "Signal to send to the container")
flags.BoolVarP(&killCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
- rootCmd.AddCommand(killCommand.Command)
}
// killCmd kills one or more containers with a signal