It's a small streamlined tool for this single task. It operates a bit different than Linux's and Windows' tree commands. (Well, Windows' tree command isn't any good for this either way.) The source is also available and there are lots of usage examples.