Skip to content

Commit bfa0407

Browse files
Fix line break in ddev exec help, fixes ddev#4634 (ddev#4636)
1 parent d3f7869 commit bfa0407

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/ddev/cmd/exec.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ var DdevExecCmd = &cobra.Command{
2020
Short: "Execute a shell command in the container for a service. Uses the web service by default.",
2121
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.`,
2222
Example: `ddev exec ls /var/www/html
23-
ddev exec --service db\nddev exec -s db
23+
ddev exec --service db
24+
ddev exec -s db
2425
ddev exec -s solr (assuming an add-on service named 'solr')
2526
ddev exec --raw -- ls -lR`,
2627
Run: func(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)