diff options
author | Abseil Team <absl-team@google.com> | 2020-05-06 14:06:16 -0700 |
---|---|---|
committer | vslashg <gfalcon@google.com> | 2020-05-06 17:14:07 -0400 |
commit | bd317cae3bc2630d1b12c5f1d77036e937d1d725 (patch) | |
tree | 8a125c0d0d0fe107ee6e52a770b0b986aa15ff83 /absl/flags/parse.cc | |
parent | b115744656b16bd35014f22293b87f2edcffde74 (diff) |
Export of internal Abseil changes
--
0b3113ff8d252be11c35d8a77cdb23cc03e993d2 by Benjamin Barenblat <bbaren@google.com>:
Correct Apache license headers
These files have always been licensed under the Apache license (per the
repository LICENSE), but they lacked headers to locally indicate that
fact. Add the appropriate headers.
PiperOrigin-RevId: 310223650
--
4f92b0819781279c02b48bcfce4c10d547e35a49 by Greg Falcon <gfalcon@google.com>:
Internal change
PiperOrigin-RevId: 310223203
--
378cab69ce3290d20b48d839daa988c3e63ed031 by Matthew Brown <matthewbr@google.com>:
Internal Change
PiperOrigin-RevId: 310180198
--
93a1851be0f3726f7435cef56afaa1b8664f40e7 by Gennadiy Rozental <rogeeff@google.com>:
Internal change
PiperOrigin-RevId: 310003669
--
fbee3221cb1f8717fdf34e1cc0ea248a7719227a by Gennadiy Rozental <rogeeff@google.com>:
Make 4 argument version of ParseFrom interface private in CommandLineFlag. Instroduce 2 argument version of this interface.
PiperOrigin-RevId: 309995363
GitOrigin-RevId: 0b3113ff8d252be11c35d8a77cdb23cc03e993d2
Change-Id: Ibfdf948d3d081f5630ce7ebff992ab85c75cecba
Diffstat (limited to 'absl/flags/parse.cc')
-rw-r--r-- | absl/flags/parse.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/absl/flags/parse.cc b/absl/flags/parse.cc index b76edc62..cc134909 100644 --- a/absl/flags/parse.cc +++ b/absl/flags/parse.cc @@ -697,7 +697,8 @@ std::vector<char*> ParseCommandLineImpl(int argc, char* argv[], if (flag->IsRetired()) continue; std::string error; - if (!flag->ParseFrom(value, SET_FLAGS_VALUE, kCommandLine, &error)) { + if (!flags_internal::PrivateHandleInterface::ParseFrom( + flag, value, SET_FLAGS_VALUE, kCommandLine, &error)) { flags_internal::ReportUsageError(error, true); success = false; } |