diff --git a/include/argparse/argparse.hpp b/include/argparse/argparse.hpp index aae066b..cdbcd19 100644 --- a/include/argparse/argparse.hpp +++ b/include/argparse/argparse.hpp @@ -960,7 +960,7 @@ public: return *(tIterator->second); } } - throw std::logic_error("No such argument"); + throw std::logic_error("No such argument: " + std::string(aArgumentName)); } // Print help message