From 70ff5c9ba575bfb24e690a23de29736ef43a6ec9 Mon Sep 17 00:00:00 2001 From: Ruben d'Arco Date: Wed, 6 Dec 2017 21:08:21 +0000 Subject: [PATCH] Add colour to diff output of pdnsutil Fixes #3760 --- pdns/pdnsutil.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 05d5dee904..d13f51c220 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -918,7 +918,7 @@ int editZone(DNSSECKeeper& dk, const DNSName &zone) { set_difference(pre.cbegin(), pre.cend(), post.cbegin(), post.cend(), back_inserter(diff), DNSRecord::prettyCompare); for(const auto& d : diff) { ostringstream str; - str<<'-'<< d.d_name <<" "<getZoneRepresentation(true)<getZoneRepresentation(true)<<"\033[0m"<getZoneRepresentation(true)<getZoneRepresentation(true)<<"\033[0m"< 0) -- 2.47.2