catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
648 stars 67 forks source link

Opts can't accept variadic arguments #54

Open capnspacehook opened 6 years ago

capnspacehook commented 6 years ago

I know that the Arg class is meant to take variadic arguments, but why can't the Opt class take variadic arguments as well? I would like to take multiple arguments for 2 different options, but the Opt class doesn't accept vectors. Is there any reason this couldn't be changed, or is there some implementation obstacle that prevents Opts from taking vectors?