Boost Program Options Examples
The examples are online at https://www.boost.org/doc/libs/1_75_0/libs/program_options/example/
For a different version of boost, change the number in the link.
On Debian systems, you find it in /usr/share/doc/libboost-doc/examples/libs/program_options
.
Otherwise, I suggest to download the archive from boost.org and have a look there.