]> granicus.if.org Git - pdns/commitdiff
Fix syntax error for replace-rrset
authorOlivier van der Toorn <oliviervdtoorn@gmail.com>
Thu, 22 Feb 2018 07:41:21 +0000 (08:41 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2018 07:41:21 +0000 (08:41 +0100)
Make `replace-rrset` tell the user to use the `replace-rrset` command, rather than `replace-record`.

pdns/pdnsutil.cc

index f4e37ab624d435ebafb89853e112c2e94d85b78c..b12312631c226f83db8cd84a3099cdd72f8e6b29 100644 (file)
@@ -2236,7 +2236,7 @@ try
   }
   else if(cmds[0] == "replace-rrset") {
     if(cmds.size() < 5) {
-      cerr<<"Syntax: pdnsutil replace-record ZONE name type [ttl] \"content\" [\"content\"...]"<<endl;
+      cerr<<"Syntax: pdnsutil replace-rrset ZONE name type [ttl] \"content\" [\"content\"...]"<<endl;
       return 0;
     }
     exit(addOrReplaceRecord(false , cmds));