summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuke Yeager <luke.yeager@gmail.com>2016-01-22 15:30:35 -0800
committerLuke Yeager <luke.yeager@gmail.com>2016-01-22 16:55:27 -0800
commit67b497d4ec70018b168639df1e4342f78fb44bb0 (patch)
tree8d0b4be356f2974c2918d777fa3e8be3bc6e31e4 /tools
parenta7ac8bc02fd08161a6f4462d61293f330b43751b (diff)
downloadcaffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.gz
caffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.tar.bz2
caffeonacl-67b497d4ec70018b168639df1e4342f78fb44bb0.zip
Version 1.0.0-rc3
Diffstat (limited to 'tools')
-rw-r--r--tools/caffe.cpp3
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"