fix: add-rr should have re-sign default as true
Change-Id: I8df16facc97a8ed00c975d03248efefafbab8baa
diff --git a/tools/ndns-add-rr.cpp b/tools/ndns-add-rr.cpp
index e4047e2..2ac2b9a 100644
--- a/tools/ndns-add-rr.cpp
+++ b/tools/ndns-add-rr.cpp
@@ -51,7 +51,7 @@
string file = "-";
string encoding = "base64";
bool setFile = false;
- bool needResign = false;
+ bool needResign = true;
try {
namespace po = boost::program_options;
po::variables_map vm;
@@ -75,7 +75,7 @@
"type, content-type, content, and version parameters will be ignored. Default is stdin(-)")
("encoding,e", po::value<string>(&encoding),
"Set encoding format of input file. Default: base64")
- ("resign,r", po::value<bool>(&needResign), "Resign the input with DSK")
+ ("resign,r", po::value<bool>(&needResign), "Resign the input with DSK. Default is true")
;
// add "Record Options" as a separate section