aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/x509print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/x509print.cpp')
-rw-r--r--src/cli/x509print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/x509print.cpp b/src/cli/x509print.cpp
index e583c91c2..5c069ca77 100644
--- a/src/cli/x509print.cpp
+++ b/src/cli/x509print.cpp
@@ -12,7 +12,7 @@ namespace {
int x509print(const std::vector<std::string> &args)
{
- if(args.size() != 1)
+ if(args.size() != 2)
{
std::cout << "Usage: " << args[0] << " cert.pem" << std::endl;
return 1;