tools: include CS config in 'nfdc cs info'
Also, ForwarderGeneralModule::formatItemText now uses ItemAttributes.
refs #4050
Change-Id: I1b2bde29b82e4b3910d87b41efd90e273052b18d
diff --git a/tools/nfdc/format-helpers.cpp b/tools/nfdc/format-helpers.cpp
index a329102..d898dc3 100644
--- a/tools/nfdc/format-helpers.cpp
+++ b/tools/nfdc/format-helpers.cpp
@@ -75,6 +75,15 @@
return os;
}
+std::ostream&
+operator<<(std::ostream& os, Flag v)
+{
+ if (!v.flag) {
+ return os;
+ }
+ return os << '<' << v.elementName << "/>";
+}
+
std::string
formatDuration(time::nanoseconds d)
{