From ec53ae22108f403c3ef1639d50895b04e5c4386e Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 2 Oct 2015 15:19:21 +0200 Subject: [PATCH] pdnssec: sync help syntax with manpage --- pdns/pdnssec.cc | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) 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"<