Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: shell/src/Command.cpp

Issue 10016005: Add API calls and stubs for filter matching and subscription management (Closed)
Patch Set: Created April 3, 2013, 12:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
{

Powered by Google App Engine
This is Rietveld