Include headers in example, so it compiles

This commit is contained in:
Sascha Brawer 2025-07-21 10:48:54 +02:00
parent 5e6d1e29f7
commit 4cbd9d3990
1 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,9 @@ also want to override the positional help by calling `options.positional_help`.
Putting all together:
```cpp
#include <iostream>
#include "cxxopts.hpp"
int main(int argc, char** argv)
{
cxxopts::Options options("test", "A brief description");