fix #13: list available resources if none supplied.