Include headers in example, so it compiles (#462)

This commit is contained in:
Sascha Brawer
2025-08-06 23:56:58 +02:00
committed by GitHub
parent 5e6d1e29f7
commit 781d8ee87c

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");