TOOLS-217: support --db flag instead of --database in common options