Accept an optional list of tables and only print them (and their
dependencies)