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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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");