Added --db option to CLI.