diff options
Diffstat (limited to 'commands.cpp')
-rw-r--r-- | commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.cpp b/commands.cpp index f37f78c..03af48c 100644 --- a/commands.cpp +++ b/commands.cpp @@ -75,7 +75,7 @@ std::vector<std::string> commands::execute(const std::vector<std::string>& args) assert(args.size()); Handler h = commands::handlers[args[0]]; if(!h) { - throw CommandException("unknown command"); + throw CommandException(boost::str(boost::format("unknown command \"%s\"") % args[0])); } return h(args); |