bfgroup / Lyra

A simple to use, composable, command line parser for C++ 11 and beyond
https://bfgroup.github.io/Lyra/
Boost Software License 1.0
471 stars 56 forks source link

Crash in lyra::args::args with zero arguments #70

Closed johnmcfarlane closed 1 year ago

johnmcfarlane commented 2 years ago

While unusual, this can happen e.g. when execve invokes main without arguments and the calling program doesn't perform a check before calling lyra::args::args.