aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/cert_verify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/cert_verify.cpp')
-rw-r--r--src/cli/cert_verify.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cli/cert_verify.cpp b/src/cli/cert_verify.cpp
index 7a1bec983..7e03c81ab 100644
--- a/src/cli/cert_verify.cpp
+++ b/src/cli/cert_verify.cpp
@@ -17,9 +17,10 @@ int cert_verify(const std::vector<std::string> &args)
{
using namespace Botan;
- if(args.size() <= 2)
+ if(args.size() < 3)
{
- std::cout << "Usage: " << args[0] << " subject.pem [CA certificates...]" << std::endl;
+ std::cout << "Usage: " << args[0] << " subject.pem CA_certificate [CA_certificate ...]"
+ << std::endl;
return 1;
}