Index: shell/src/Command.cpp |
=================================================================== |
--- a/shell/src/Command.cpp |
+++ b/shell/src/Command.cpp |
@@ -10,6 +10,11 @@ |
{ |
} |
+void Command::ShowUsage() const |
+{ |
+ std::cout << "Usage: " << GetUsage() << std::endl; |
+} |
+ |
NoSuchCommandError::NoSuchCommandError(const std::string& commandName) |
: std::runtime_error("No such command: " + commandName) |
{ |