From: Pieter Lexis Date: Fri, 2 Oct 2015 13:19:21 +0000 (+0200) Subject: pdnssec: sync help syntax with manpage X-Git-Tag: dnsdist-1.0.0-alpha1~230^2~33^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec53ae22108f403c3ef1639d50895b04e5c4386e;p=pdns pdnssec: sync help syntax with manpage --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 7dc0c43ce..3880e026d 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -1313,10 +1313,10 @@ try if(cmds.empty() || g_vm.count("help")) { cerr<<"Usage: \npdnssec [options] [params ..]\n"< keys; if (cmds.size() < 9) { - std::cout << "Usage: pdnssec hsm assign zone algorithm ksk|zsk module token pin label" << std::endl; + std::cout << "Usage: pdnssec hsm assign ZONE ALGORITHM {ksk|zsk} MODULE TOKEN PIN LABEL" << std::endl; return 1; } @@ -2315,7 +2315,7 @@ try } else if (cmds[1] == "create-key") { if (cmds.size() < 4) { - cerr << "Usage: pdnssec hsm create-key zone key-id [bits]" << endl; + cerr << "Usage: pdnssec hsm create-key ZONE KEY-ID [BITS]" << endl; return 1; } DomainInfo di; @@ -2372,7 +2372,7 @@ try #endif } else if (cmds[0] == "b2b-migrate") { if (cmds.size() < 3) { - cerr<<"Usage: b2b-migrate old new"<