zcmdcat: Categorize 'task context'.

This commit is contained in:
Daniel Shahaf 2015-07-20 03:25:33 +00:00 committed by Paul Beckingham
parent de9a815063
commit 5ca1dd540e
3 changed files with 3 additions and 0 deletions

View file

@ -45,6 +45,7 @@ CmdContext::CmdContext ()
_description = STRING_CMD_CONTEXT_USAGE; _description = STRING_CMD_CONTEXT_USAGE;
_read_only = true; _read_only = true;
_displays_id = false; _displays_id = false;
_category = Command::Category::context;
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View file

@ -201,6 +201,7 @@ const std::map <Command::Category, std::string> Command::categoryNames =
,{Command::Category::interrogator, "interrogator"} ,{Command::Category::interrogator, "interrogator"}
,{Command::Category::report, "report"} ,{Command::Category::report, "report"}
,{Command::Category::operation, "operation"} ,{Command::Category::operation, "operation"}
,{Command::Category::context, "context"}
,{Command::Category::graphs, "graphs" } ,{Command::Category::graphs, "graphs" }
,{Command::Category::config, "config" } ,{Command::Category::config, "config" }
,{Command::Category::migration, "migration"} ,{Command::Category::migration, "migration"}

View file

@ -53,6 +53,7 @@ public:
interrogator, interrogator,
report, report,
operation, operation,
context,
graphs, graphs,
config, config,
migration, migration,