Closed
Description
Preliminary checklist
- I am using the latest stable version of DDEV (see upgrade guide)
- I have searched existing issues
- I have checked the troubleshooting guide
- I have run
ddev debug test
to include output below
Output of ddev debug test
No response
Expected Behavior
The command help "Usage" line should match its behavior, [flags]
first, then <command>
:
ddev exec [flags] <command>
Actual Behavior
It has them flipped.
$ ddev help exec | grep Usage -a1
Usage:
ddev exec <command> [flags]
Steps To Reproduce
The expected behavior above reflects what the "Examples" show, and it's how the command actually works:
# Wrong: DDEV passes the "--dir" flag on to the shell.
$ ddev exec echo test --dir=/var
test --dir=/var
# Correct: DDEV interprets the "--dir" flag.
$ ddev exec --dir=/var echo test
test
Anything else?
No response
Metadata
Metadata
Assignees
Labels
No labels