tools: deprecate ndncatchunks3 and ndnputchunks3
refs #3547
Change-Id: I41162de742efa01fb0e38208088d8765f5f9dc63
diff --git a/tools/ndncatchunks3.cpp b/tools/ndncatchunks3.cpp
index f5a5964..b9a41d2 100644
--- a/tools/ndncatchunks3.cpp
+++ b/tools/ndncatchunks3.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2015 Regents of the University of California.
+ * Copyright (c) 2013-2016 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -200,5 +200,6 @@
int
main(int argc, char** argv)
{
+ std::cerr << "ndncatchunks3 is deprecated. Use ndncatchunks program from ndn-tools repository.\n" << std::endl;
return ndn::main(argc, argv);
}
diff --git a/tools/ndnputchunks3.cpp b/tools/ndnputchunks3.cpp
index 6eea0b7..a977322 100644
--- a/tools/ndnputchunks3.cpp
+++ b/tools/ndnputchunks3.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2014 Regents of the University of California.
+ * Copyright (c) 2013-2016 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -154,5 +154,6 @@
int
main(int argc, char** argv)
{
+ std::cerr << "ndnputchunks3 is deprecated. Use ndnputchunks program from ndn-tools repository.\n" << std::endl;
return ndn::main(argc, argv);
}