diff --git a/thirdparty/argparse/include/argparse/argparse.hpp b/thirdparty/argparse/include/argparse/argparse.hpp index e73da429c1..09a4f47f91 100644 --- a/thirdparty/argparse/include/argparse/argparse.hpp +++ b/thirdparty/argparse/include/argparse/argparse.hpp @@ -919,6 +919,12 @@ public: return *this; } + template Argument &add_choices(std::vector &&choices) { + for (T &choice : choices) + add_choice(std::forward(choice)); + return *this; + } + template Argument &choices(T &&first, U &&... rest) { add_choice(std::forward(first));