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

required argument in sub command #38

Closed chybz closed 2 years ago

chybz commented 3 years ago

Hello,

thanks a lot for this nice library !

when trying the sample code from 7. Sub-commands, it seems the required() call on process_name doesn't kicks in, i.e.:

$ ./main.out kill
KILL: signal=9 process=
$

Is there something I misunderstood ?