Make --list work again

Fixes #725