diff --git a/trunk/c5/test.cpp b/trunk/c5/test.cpp index cd7f0e7a..09b86378 100644 --- a/trunk/c5/test.cpp +++ b/trunk/c5/test.cpp @@ -317,6 +317,10 @@ int CRYPTOPP_API main(int argc, char *argv[]) FileSource usage("usage.dat", true, new FileSink(cout)); return 1; } + else if (command == "V") + { + cout << "5.4" << endl; + } else { cerr << "Unrecognized command. Run \"cryptest h\" to obtain usage information.\n"; diff --git a/trunk/c5/usage.dat b/trunk/c5/usage.dat index 8ea82e3f..044f18fe 100644 --- a/trunk/c5/usage.dat +++ b/trunk/c5/usage.dat @@ -74,5 +74,8 @@ Test Driver for Crypto++(R) Library, a C++ Class Library of Cryptographic Scheme - To run validation tests cryptest v +- To display version number + cryptest V + - To run benchmarks cryptest b [time for each benchmark in seconds]