Add -list function.
Merge pull request #68 from rejeep/list-function

Add -list function.