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

Unified Diff: shell/src/Command.h

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.h
===================================================================
--- a/shell/src/Command.h
+++ b/shell/src/Command.h
@@ -15,6 +15,9 @@
virtual void operator()(const std::string& arguments) = 0;
virtual std::string GetDescription() const = 0;
virtual std::string GetUsage() const = 0;
+
+protected:
+ void ShowUsage() const;
};
typedef std::map<const std::string, Command*> CommandMap;

Powered by Google App Engine
This is Rietveld