tools: Small formatting correction in plain text output of nfd-status
Change-Id: I7657d10ce91ce7f90d264296e69b87179c08c1a7
diff --git a/docs/manpages/nfd-status.rst b/docs/manpages/nfd-status.rst
index 22892b7..4fabe2e 100644
--- a/docs/manpages/nfd-status.rst
+++ b/docs/manpages/nfd-status.rst
@@ -93,7 +93,7 @@
/localhost/nfd nexthops={faceid=1 (cost=0)}
/example/testApp nexthops={faceid=268 (cost=0)}
/localhost/nfd/rib nexthops={faceid=262 (cost=0)}
- Rib:
- /example/testApp route={faceid=268 (origin=0 cost=0 flags=1)}
+ RIB:
+ /example/testApp route={faceid=268 (origin=0 cost=0 flags=1)}
Strategy choices:
/ strategy=/localhost/nfd/strategy/best-route
diff --git a/tools/nfd-status.cpp b/tools/nfd-status.cpp
index 2706be2..68ffb73 100644
--- a/tools/nfd-status.cpp
+++ b/tools/nfd-status.cpp
@@ -734,7 +734,7 @@
}
else
{
- std::cout << "Rib:" << std::endl;
+ std::cout << "RIB:" << std::endl;
Block block;
size_t offset = 0;
@@ -751,7 +751,7 @@
nfd::RibEntry ribEntry(block);
- std::cout << " " << ribEntry.getName().toUri() << " route={";
+ std::cout << " " << ribEntry.getName().toUri() << " route={";
for (std::list<nfd::Route>::const_iterator
nextRoute = ribEntry.begin();
nextRoute != ribEntry.end();