Skip to content

Commit

Permalink
fix: update usage syntax for ddev exec, fixes ddev#6660 (ddev#6715)
Browse files Browse the repository at this point in the history
  • Loading branch information
stasadev authored Nov 14, 2024
1 parent 6c258b7 commit 78cbb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ddev/cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var execDirArg string

// DdevExecCmd allows users to execute arbitrary sh commands within a container.
var DdevExecCmd = &cobra.Command{
Use: "exec <command>",
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 <service> <cmd>". If you want to use raw, uninterpreted command inside container use --raw as in example.`,
Expand Down

0 comments on commit 78cbb56

Please sign in to comment.