From 0f413d528f45afc7e379fa526b1afa10ff2fc927 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 8 Feb 2016 17:06:35 +0100 Subject: [PATCH] pdnsutil: provide helpful output with command help Closes #1965 --- pdns/pdnsutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 7a2e25ca79..60ec2acd89 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1809,7 +1809,7 @@ try g_verbose = g_vm.count("verbose"); - if(cmds.empty() || g_vm.count("help")) { + if(cmds.empty() || g_vm.count("help") || cmds[0] == "help") { cerr<<"Usage: \npdnsutil [options] [params ..]\n"<