abseil / abseil/abseil-cpp

Why not mention that parse.h should be included when using ParseCommandLine()

Open
#1,192 0 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
18.1k
Forks
3.2k
Avg merge
20h 36m
Merged PRs (30d)
1

Description

On this [page](https://abseil.io/docs/cpp/guides/flags), in the parsing flags during startup section, a code snippet was provided for `absl::ParseCommandLine(argc,argv)`. I'm kind of dumb so it took me a while to figure out I also needed to use `#include "absl/flags/parse.h"`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.