Replacing the call to base::SpecifiedOnCommandLine with base::WasPresentOnCommandLine.

PiperOrigin-RevId: 313151744
Change-Id: I13adf6964cf38fc1c6fab07c9f426fe5b44768fa
This commit is contained in:
A. Unique TensorFlower 2020-05-26 01:57:24 -07:00 committed by TensorFlower Gardener
parent b0ad9c1aed
commit 0fa5426f99

View File

@ -204,7 +204,7 @@ void ReadModelFlagsFromCommandLineFlags(
}
#ifdef PLATFORM_GOOGLE
CHECK(!((base::SpecifiedOnCommandLine("batch") &&
CHECK(!((base::WasPresentOnCommandLine("batch") &&
parsed_model_flags.variable_batch.specified())))
<< "The --batch and --variable_batch flags are mutually exclusive.";
#endif