[#absl-ParseCommandLine] = xref:absl.adoc[absl]::ParseCommandLine :relfileprefix: ../ :mrdocs: First parses Abseil Flags only from the command line according to the description in `ParseAbseilFlagsOnly`. In addition this function handles unrecognized and usage flags. == Synopsis Declared in `<absl/flags/parse.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::vector<char*> ParseCommandLine( int argc, char* argv[]); ---- == Description If any unrecognized flags are located they are reported using `ReportUnrecognizedFlags`. If any errors detected during command line parsing, this routine reports a usage message and aborts the program. If any built‐in usage flags were specified on the command line (e.g. `‐‐help`), this function reports help messages and then gracefully exits the program. == Return Value All the remaining positional arguments collected by `ParseAbseilFlagsOnly`. == Parameters [cols="1,4"] |=== | Name| Description | *argc* | The number of command‐line arguments, as passed to `main()`. | *argv* | The command‐line arguments, as passed to `main()`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#