diff --git a/cmd/ddev/cmd/exec.go b/cmd/ddev/cmd/exec.go index 9d62d8b25d3..ac839d9b6db 100644 --- a/cmd/ddev/cmd/exec.go +++ b/cmd/ddev/cmd/exec.go @@ -15,7 +15,7 @@ var execDirArg string // DdevExecCmd allows users to execute arbitrary sh commands within a container. var DdevExecCmd = &cobra.Command{ - Use: "exec ", + Use: "exec [flags] [command] [command-flags]", Aliases: []string{"."}, Short: "Execute a shell command in the container for a service. Uses the web service by default.", Long: `Execute a shell command in the container for a service. Uses the web service by default. To run your command in the container for another service, run "ddev exec --service ". If you want to use raw, uninterpreted command inside container use --raw as in example.`,