I just install a Drupal 9.2 site and Drush 10 to manage it. Usually I use Drush 9 and Drupal 8.9.
It appear option for pml command seem not to work in Drush 10 as it do in Drush 9. Example:
drush @pfdevd9pf pml --filter=rss The "--filter" option does not exist. drush @pfdevd9pf pml | grep "rss" RRSSB Ridiculously Responsive Social Share Buttons (rrssb) Disabled 8.x-2.3
This is a weird thing, then I do a module activation:
drush @pfdevd9pf en -y rrssb [success] Successfully enabled: rrssb
But pml still give the same info about module version:
RRSSB Ridiculously Responsive Social Share Buttons (rrssb) Enabled 8.x-2.3
I use D8 website too on this server, but installations are distincts. If someone know about this, and why pml doesn't use the option ?
EDIt: about the version number for module, as @4k4 say, it depends on the module developpment. This is another example for D9:
Other Backup and Migrate (backup_migrate) Disabled 5.0.1
EDIt2: multiple drush version can be an issue, because in my .bash_profile I get: Drush 8 globally installed
#Création d'un alias pour Drush 9 pour usage global alias drush9='$HOME/www/pfdev/multid8/vendor/drush/drush/drush' #Création d'un alias pour Drush 10 pour usage global alias drush10='$HOME/www/pfdev/multid9/recommended-project/vendor/drush/drush/drush' #PATH ajouté manuellement suite retour commande Drush #export PATH="$PATH:$HOME/www/pfdev/multid8/vendor/drush/drush/drush" # Switch drush versions for session. Changer de version pour la session alias d8='export PATH=$HOME/bin/drush:$PATH' alias d9='export PATH=$HOME/www/pfdev/multid8/vendor/bin:$PATH' alias d10='export PATH=$HOME/www/pfdev/multid9/recommended-project/vendor/bin:$PATH'
but I use drush as alias, never d9 or d10.In addition, I need to be on the ~/ to use alias...created for D8. So I think I need to change my Drush 8 install, and remove it globally. isn't it ?