diff options
author | Simon Warta <[email protected]> | 2015-12-09 13:02:41 +0100 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-12-09 15:25:51 +0100 |
commit | 3e906f11633851dce815bfa57d8effbed1fad484 (patch) | |
tree | 002979f52de6e18d4dbd2e30228e0c3384793876 | |
parent | 0f1d389a21e5a119ff72d927a1999976c2c9af24 (diff) |
Improve getopt error message
-rw-r--r-- | src/cmd/getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string, std::string>::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; } |