Add option list subcommand.

Should mention the other formats too here.