tools: nfdc face show command
refs #3864
Change-Id: Ibee7b082681edc35e8c272b2363436dbc7eaf9c0
diff --git a/tools/nfdc/main.cpp b/tools/nfdc/main.cpp
index 1f96c83..a7469a9 100644
--- a/tools/nfdc/main.cpp
+++ b/tools/nfdc/main.cpp
@@ -61,9 +61,10 @@
}
try {
- ndn::Face face;
- ndn::KeyChain keyChain;
- ExecuteContext ctx{noun, verb, ca, 0, std::cout, std::cerr, face, keyChain};
+ Face face;
+ KeyChain keyChain;
+ Controller controller(face, keyChain);
+ ExecuteContext ctx{noun, verb, ca, 0, std::cout, std::cerr, face, keyChain, controller};
execute(ctx);
return ctx.exitCode;
}