idk what changed
parent
c23759ac6d
commit
5f9ea32671
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
include(cmake/color.cmake)
|
||||
set(BLT_VERSION 4.0.16)
|
||||
set(BLT_VERSION 4.0.17)
|
||||
|
||||
set(BLT_TARGET BLT)
|
||||
|
||||
|
|
|
@ -453,10 +453,9 @@ namespace blt::argparse
|
|||
}
|
||||
if (consumer.peek().is_flag())
|
||||
{
|
||||
throw detail::unexpected_argument_error(make_string(
|
||||
"Expected ", argc, " arguments to be consumed by '", arg, "' but found a flag '",
|
||||
consumer.peek().get_argument(), "' instead!"
|
||||
));
|
||||
std::cout << "Warning: arg '" << arg << "' expects " << argc <<
|
||||
" arguments to be consumed but we found a flag '" << consumer.peek().
|
||||
get_argument() << "'. We will comply as this may be desired if this argument is a file." << std::endl;
|
||||
}
|
||||
args.push_back(consumer.consume().get_argument());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue