From 5ca1dd540e81c56ed8327d4f11d52022b940523a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 20 Jul 2015 03:25:33 +0000 Subject: [PATCH] zcmdcat: Categorize 'task context'. --- src/commands/CmdContext.cpp | 1 + src/commands/Command.cpp | 1 + src/commands/Command.h | 1 + 3 files changed, 3 insertions(+) diff --git a/src/commands/CmdContext.cpp b/src/commands/CmdContext.cpp index 03082ebd7..95145bbe3 100644 --- a/src/commands/CmdContext.cpp +++ b/src/commands/CmdContext.cpp @@ -45,6 +45,7 @@ CmdContext::CmdContext () _description = STRING_CMD_CONTEXT_USAGE; _read_only = true; _displays_id = false; + _category = Command::Category::context; } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/commands/Command.cpp b/src/commands/Command.cpp index cf608d461..76e8f3bfa 100644 --- a/src/commands/Command.cpp +++ b/src/commands/Command.cpp @@ -201,6 +201,7 @@ const std::map Command::categoryNames = ,{Command::Category::interrogator, "interrogator"} ,{Command::Category::report, "report"} ,{Command::Category::operation, "operation"} + ,{Command::Category::context, "context"} ,{Command::Category::graphs, "graphs" } ,{Command::Category::config, "config" } ,{Command::Category::migration, "migration"} diff --git a/src/commands/Command.h b/src/commands/Command.h index 1c2b19b36..9715351df 100644 --- a/src/commands/Command.h +++ b/src/commands/Command.h @@ -53,6 +53,7 @@ public: interrogator, report, operation, + context, graphs, config, migration,