core: unify version string
refs #2671
Change-Id: I88a58a500a43635cc8698c4bf444723d6e713590
diff --git a/tools/peek/ndn-peek.cpp b/tools/peek/ndn-peek.cpp
index 8f79a61..7bc8dae 100644
--- a/tools/peek/ndn-peek.cpp
+++ b/tools/peek/ndn-peek.cpp
@@ -48,11 +48,7 @@
* @author Jerald Paul Abraham <jeraldabraham@email.arizona.edu>
*/
-#include "version.hpp"
-
-#include <boost/noncopyable.hpp>
-
-#include <ndn-cxx/face.hpp>
+#include "core/version.hpp"
namespace ndn {
namespace peek {
@@ -282,7 +278,7 @@
program.setTimeout(atoi(optarg));
break;
case 'V':
- std::cout << NFD_VERSION_BUILD_STRING << std::endl;
+ std::cout << "ndnpeek " << tools::VERSION << std::endl;
return 0;
default:
program.usage();