diff options
Diffstat (limited to 'src/cli/prime.cpp')
-rw-r--r-- | src/cli/prime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/prime.cpp b/src/cli/prime.cpp index 82efa75d2..c7c9d1ffe 100644 --- a/src/cli/prime.cpp +++ b/src/cli/prime.cpp @@ -17,9 +17,9 @@ namespace { int prime(const std::vector<std::string> &args) { - if(args.size() < 2) + if(args.size() < 2 || args.size() > 3) { - std::cout << "Usage: " << args[0] << " bits count" << std::endl; + std::cout << "Usage: " << args[0] << " bits [count]" << std::endl; return 1; } |