Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I ran the status command on the latest dev version of Drush and I noticed that the database username wasn't displayed in the report. I had a look at the command help and saw the --show-passwords option, I used it but nothing happened.
I had a look at the code and found a typo in the field-labels array, the output processor tries to match db-user instead of db-username.
For the password information, the field is not defined and during the render of the output, keys without definition are not displayed.
Comment | File | Size | Author |
---|---|---|---|
#1 | drush-fix_db-username_and_show_passwords_option-1950592-1.patch | 2.51 KB | JulienD |
Comments
Comment #1
JulienD CreditAttribution: JulienD commentedHere is a patch to fix this
Without the patch :
With the patch :
Comment #2
greg.1.anderson CreditAttribution: greg.1.anderson commentedCommitted. Thanks.