Make --list work again

Fixes #725
3.40.4