From a20ff42134e0b4e3ba9d26c25d93df50e637fd69 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 26 Feb 2019 14:11:27 -0700 Subject: 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 --- cmd/podman/restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman/restart.go') diff --git a/cmd/podman/restart.go b/cmd/podman/restart.go index 58fb38874..2bebde4f9 100644 --- a/cmd/podman/restart.go +++ b/cmd/podman/restart.go @@ -18,7 +18,7 @@ var ( restartCommand cliconfig.RestartValues restartDescription = `Restarts one or more running containers. The container ID or name can be used. A timeout before forcibly stopping can be set, but defaults to 10 seconds` _restartCommand = &cobra.Command{ - Use: "restart", + Use: "restart [flags] CONTAINER [CONTAINER...]", Short: "Restart one or more containers", Long: restartDescription, RunE: func(cmd *cobra.Command, args []string) error { -- cgit v1.2.3-54-g00ecf