diff --git a/vanitygen.cpp b/vanitygen.cpp index 57a810e..fc57d8b 100644 --- a/vanitygen.cpp +++ b/vanitygen.cpp @@ -60,7 +60,7 @@ void thread_find(const char * prefix){ #endif int main (int argc, char * argv[]) { - if (argc < 2) + if (argc < 3) { std::cout << "Usage: " << argv[0] << " filename generatestring " << std::endl; return 0;