[doc] first arg is path to database