compile gflags correctly, remove google namespace, use gflags instead, port all code using it
This commit is contained in:
@@ -188,8 +188,8 @@ int main(int argc, char* argv[]) {
|
||||
} else {
|
||||
usage = StringPrintf(kUsageTemplate, argv[0]);
|
||||
}
|
||||
google::SetUsageMessage(usage);
|
||||
google::ParseCommandLineFlags(&argc, &argv, true);
|
||||
gflags::SetUsageMessage(usage);
|
||||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||
|
||||
if (argc < 2) {
|
||||
LOG(FATAL) << usage;
|
||||
|
||||
Reference in New Issue
Block a user