Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ that can be converted from a string using `std::ostream`.

`Arg`s specify arguments that are not tied to options, and so have no square bracket names. They otherwise work just like `Opt`s.

A, console optimised, usage string can be obtained by inserting the parser into a stream.
A, console optimised, usage string can be obtained by inserting the parser into an output stream like this:
```
std::cout << cli << std::endl;
```
The usage string is built from the information supplied and is formatted for the console width.

As a convenience, the standard help options (`-h`, `--help` and `-?`) can be specified using the `Help` parser,
Expand Down