From 3e906f11633851dce815bfa57d8effbed1fad484 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 9 Dec 2015 13:02:41 +0100 Subject: Improve getopt error message --- src/cmd/getopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/getopt.h b/src/cmd/getopt.h index 435e74cbc..f683159d0 100644 --- a/src/cmd/getopt.h +++ b/src/cmd/getopt.h @@ -28,7 +28,7 @@ class OptionParser { std::map::const_iterator i = options.find(key); if(i == options.end()) - throw std::runtime_error("Option " + key + " not found"); + throw std::runtime_error("Option '" + key + "' not set"); return i->second; } -- cgit v1.2.3