List all available databases, then exit. Other non-connection options are ignored. This is similar to the internal command \list.
\list