Adds a -db flag that's persistent for all subcommands.