diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-12-18 02:15:14 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-12-18 02:15:14 +0000 |
commit | ecf8b8bd23401e833a901eb10ba06d0ab9482f88 (patch) | |
tree | 76104387bb97bd8dfdb054c7d810b0a22447a188 /test.cpp | |
parent | fd3c52c358191b224a5ade6a11708cdf92728413 (diff) | |
download | cryptopp-ecf8b8bd23401e833a901eb10ba06d0ab9482f88.tar.gz |
add V (version) option
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@264 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'test.cpp')
-rw-r--r-- | test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"; |