From de9a815063dab026bc773d0b1b1091ab16199741 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 20 Jul 2015 03:23:41 +0000 Subject: [PATCH] zcmdcat: Categorize 'task install'. --- src/commands/CmdInstall.cpp | 1 + src/commands/Command.cpp | 1 + src/commands/Command.h | 1 + 3 files changed, 3 insertions(+) diff --git a/src/commands/CmdInstall.cpp b/src/commands/CmdInstall.cpp index 2a17e22e6..a143a8230 100644 --- a/src/commands/CmdInstall.cpp +++ b/src/commands/CmdInstall.cpp @@ -40,6 +40,7 @@ CmdInstall::CmdInstall () _description = STRING_CMD_INSTALL_USAGE; _read_only = true; _displays_id = false; + _category = Command::Category::UNDOCUMENTED; } //////////////////////////////////////////////////////////////////////////////// diff --git a/src/commands/Command.cpp b/src/commands/Command.cpp index f9af27f37..cf608d461 100644 --- a/src/commands/Command.cpp +++ b/src/commands/Command.cpp @@ -206,6 +206,7 @@ const std::map Command::categoryNames = ,{Command::Category::migration, "migration"} ,{Command::Category::misc, "misc" } ,{Command::Category::internal, "internal"} + ,{Command::Category::UNDOCUMENTED, "undocumented"} }; //////////////////////////////////////////////////////////////////////////////// diff --git a/src/commands/Command.h b/src/commands/Command.h index c81cdf712..1c2b19b36 100644 --- a/src/commands/Command.h +++ b/src/commands/Command.h @@ -58,6 +58,7 @@ public: migration, misc, internal, + UNDOCUMENTED, // Whenever you extend this enum, update categoryNames. }; Category _category;