summaryrefslogtreecommitdiffstats
path: root/src/Client/CommandParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r--src/Client/CommandParser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h
index 8077a30..c4a0f79 100644
--- a/src/Client/CommandParser.h
+++ b/src/Client/CommandParser.h
@@ -43,11 +43,13 @@ namespace Client {
class Application;
class SystemCommands;
class UserCommands;
+class UserListCommands;
class MAD_CLIENT_EXPORT CommandParser {
private:
friend class SystemCommands;
friend class UserCommands;
+ friend class UserListCommands;
struct Command {
const char* commands[3];
@@ -68,7 +70,7 @@ class MAD_CLIENT_EXPORT CommandParser {
static const Command* findCommand(const std::string& command);
- void printUsage(const std::string& command);
+ static void printUsage(const std::string& command);
std::map<std::string, Common::HostInfo> parseHostList(const std::vector<std::string> &args, bool mustBeActive = false);
void helpCommand(const std::vector<std::string> &args);