diff options
author | Luke Yeager <luke.yeager@gmail.com> | 2016-01-22 15:30:35 -0800 |
---|---|---|
committer | Luke Yeager <luke.yeager@gmail.com> | 2016-01-22 16:55:27 -0800 |
commit | 67b497d4ec70018b168639df1e4342f78fb44bb0 (patch) | |
tree | 8d0b4be356f2974c2918d777fa3e8be3bc6e31e4 /tools | |
parent | a7ac8bc02fd08161a6f4462d61293f330b43751b (diff) | |
download | caffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.gz caffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.bz2 caffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.zip |
Version 1.0.0-rc3
Diffstat (limited to 'tools')
-rw-r--r-- | tools/caffe.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/caffe.cpp b/tools/caffe.cpp index 6b342ace..470165ad 100644 --- a/tools/caffe.cpp +++ b/tools/caffe.cpp @@ -3,6 +3,7 @@ namespace bp = boost::python; #endif +#include <gflags/gflags.h> #include <glog/logging.h> #include <cstring> @@ -378,6 +379,8 @@ RegisterBrewFunction(time); int main(int argc, char** argv) { // Print output to stderr (while still logging). FLAGS_alsologtostderr = 1; + // Set version + gflags::SetVersionString(AS_STRING(CAFFE_VERSION)); // Usage message. gflags::SetUsageMessage("command line brew\n" "usage: caffe <command> <args>\n\n" |