-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drush deploy -vvv doesn't give enough details #5909
Comments
Sounds like a bug. The function responsible for gathering those options from the original request is \Drush\Drush::redispatchOptions |
weitzman
added a commit
to consolidation/site-process
that referenced
this issue
Mar 30, 2024
--verbose=3 is not allowed by its InputDefinition. --verbose does not accept a value (i.e. is VALUE_NONE). It must be passed as short option. So we enable convertOptions() to pass along short options via a magic value `-short`. Magic values of true and false are already supported so hopefully this doesnt smell too bad. This enables a fix for drush-ops/drush#5909
weitzman
added a commit
to weitzman/drush
that referenced
this issue
Mar 30, 2024
greg-1-anderson
pushed a commit
to consolidation/site-process
that referenced
this issue
Apr 1, 2024
* Allow short options. Needed to pass along -vvv --verbose=3 is not allowed by its InputDefinition. --verbose does not accept a value (i.e. is VALUE_NONE). It must be passed as short option. So we enable convertOptions() to pass along short options via a magic value `-short`. Magic values of true and false are already supported so hopefully this doesnt smell too bad. This enables a fix for drush-ops/drush#5909 * Use constant * Implement feedback * Fix test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running drush deploy -vvv it doesn't output as much details as intended. It would only use --verbose argument to drush updatedb, drush config:import, drush cache:rebuild and drush deploy:hook. It should instead also use -vvv for those commands.
To Reproduce
Run: drush deploy -vvv
Expected behavior
In the debug output, it should show in each step that it is also using -vvv i.e. drush cache:rebuild -vvv and not --verbose
Actual behavior
It shows that it is executing each step with just --verbose
Workaround
Is there another way to do the desired action?
System Configuration
Additional information
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: