Lyra icon indicating copy to clipboard operation
Lyra copied to clipboard

SIGSEGV when a command with a nested command is assigned any cardinality after creation

Open mknejp opened this issue 8 months ago • 0 comments

This only seems to emerge in the following constellation

cli.add_argument(
  lyra::command{"command", ...}
  .cardinality(n, m) // values don't seem to matter
  .add_argument(
     lyra::command{"subcommand", ...});

When invoked with exec command it prints

Program terminated with signal: SIGSEGV

mknejp avatar Jun 04 '24 16:06 mknejp