Add option list subcommand.

Exposing the raw SQL syntax doesn't seem like a good idea. Can't really put my finger on it, though.