From 971f687a1784e354b8eaa7efeeae61b8a50ecc3a Mon Sep 17 00:00:00 2001 From: Yoshihiro Hokazono Date: Mon, 13 Sep 2021 07:08:37 +0900 Subject: [PATCH] Kind error message --- include/argparse/argparse.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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