You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These should be the same. The first works, because it first filters the result rows down to just one consisting of a simple string. The second fails, because it attempts to validate to output from the status command first, and finds values that are arrays. The key-value format flattens these arrays into space-delimited strings, whereas the 'list' format does not support this.
The text was updated successfully, but these errors were encountered:
Nope. --list is still failing if the command output contains any values that are not simple strings. key-value handles this by imploding the array. This issue is to unify the implementation of the list and key-value output formats, so they behave the same. I think the other issue can be committed, though, as this is kind of an edge case.
This is related to #130.
Works:
$ drush status 'Drupal root' --format=list
Does not work:
$ drush status --fields=root --format=list
These should be the same. The first works, because it first filters the result rows down to just one consisting of a simple string. The second fails, because it attempts to validate to output from the status command first, and finds values that are arrays. The key-value format flattens these arrays into space-delimited strings, whereas the 'list' format does not support this.
The text was updated successfully, but these errors were encountered: