commit | f8f63da234e138025a5a8f1a6ddcb2c73d3c8cd0 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Wed Oct 07 22:28:56 2015 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed Oct 07 22:28:56 2015 +0000 |
tree | a7c1e2ad46af87e3d600aa617b861a1ed4fc735d | |
parent | b1ba3e0661b5ef9b4ae7ae9fb8ab137cec8cc9dd [diff] [blame] |
tools: deprecate tlvdump refs #3196 Change-Id: I7b3925158ec8883d202fcaec497c8c4a3f0cada4
diff --git a/tools/tlvdump.cpp b/tools/tlvdump.cpp index d45b6f1..ee5088c 100644 --- a/tools/tlvdump.cpp +++ b/tools/tlvdump.cpp
@@ -171,6 +171,9 @@ int main(int argc, const char *argv[]) { + std::cerr << "tlvdump is deprecated. Use ndn-dissect program from ndn-tools repository.\n" + "See `man tlvdump` for details." << std::endl; + if (argc == 1 || (argc == 2 && std::string(argv[1]) == "-")) {