mirror of
https://github.com/jarro2783/cxxopts.git
synced 2026-01-18 01:11:24 +01:00
Include headers in example, so it compiles (#462)
This commit is contained in:
@@ -239,6 +239,9 @@ also want to override the positional help by calling `options.positional_help`.
|
|||||||
|
|
||||||
Putting all together:
|
Putting all together:
|
||||||
```cpp
|
```cpp
|
||||||
|
#include <iostream>
|
||||||
|
#include "cxxopts.hpp"
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
cxxopts::Options options("test", "A brief description");
|
cxxopts::Options options("test", "A brief description");
|
||||||
|
|||||||
Reference in New Issue
Block a user