[#absl-CommandLineFlag-ParseFrom]
= xref:absl.adoc[absl]::xref:absl/CommandLineFlag.adoc[CommandLineFlag]::ParseFrom
:relfileprefix: ../../
:mrdocs:

Sets the value of the flag based on specified string `value`&period; If the flag was successfully set to new value, it returns true&period; Otherwise, sets `error` to indicate the error, leaves the flag unchanged, and returns false&period;

== Synopsis

Declared in `&lt;absl&sol;flags&sol;commandlineflag&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ParseFrom(
    std::string&lowbar;view value,
    std::string* error);
----

== Return Value

`true` if the flag was successfully set to the new value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The new value to parse and assign to the flag&period;
| *error*
| Set to an error message when parsing fails&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
