Replacing the call to base::SpecifiedOnCommandLine with base::WasPresentOnCommandLine.
PiperOrigin-RevId: 313151744 Change-Id: I13adf6964cf38fc1c6fab07c9f426fe5b44768fa
This commit is contained in:
parent
b0ad9c1aed
commit
0fa5426f99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user