partial implementation of --list