aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/utils.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-06-07 17:33:40 -0400
committerJack Lloyd <[email protected]>2018-06-07 17:33:40 -0400
commit9e1af2f012d3cc4bb5bbe965465fbb03be1d7393 (patch)
treed7c8de23e1e8641bc2efa90aa29a76f9e783d98d /src/cli/utils.cpp
parent97b645e1ad4dba19e3ec45d896c4e31317f96a1c (diff)
Add "info" and "codec" groups for cli commands [ci skip]
Diffstat (limited to 'src/cli/utils.cpp')
-rw-r--r--src/cli/utils.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/cli/utils.cpp b/src/cli/utils.cpp
index fadeac188..f5c914fed 100644
--- a/src/cli/utils.cpp
+++ b/src/cli/utils.cpp
@@ -58,11 +58,13 @@ class Print_Help final : public Command
}
}
- const std::map<std::string, std::string> groups_description
- { { "encryption", "Encryption" },
+ const std::map<std::string, std::string> groups_description {
+ { "encryption", "Encryption" },
{ "compression", "Compression" },
+ { "codec", "Encoders/Decoders" },
{ "hash", "Hash Functions" },
{ "hmac", "HMAC" },
+ { "info", "Informational" },
{ "numtheory", "Number Theory" },
{ "passhash", "Password Hashing" },
{ "psk", "PSK Database" },
@@ -132,7 +134,7 @@ class Config_Info final : public Command
std::string group() const override
{
- return "misc";
+ return "info";
}
std::string description() const override
@@ -178,7 +180,7 @@ class Version_Info final : public Command
std::string group() const override
{
- return "misc";
+ return "info";
}
std::string description() const override
@@ -208,7 +210,7 @@ class Print_Cpuid final : public Command
std::string group() const override
{
- return "misc";
+ return "info";
}
std::string description() const override
@@ -362,7 +364,7 @@ class Hex_Encode final : public Command
std::string group() const override
{
- return "misc";
+ return "codec";
}
std::string description() const override
@@ -386,7 +388,7 @@ class Hex_Decode final : public Command
std::string group() const override
{
- return "misc";
+ return "codec";
}
std::string description() const override
@@ -419,7 +421,7 @@ class Base64_Encode final : public Command
std::string group() const override
{
- return "misc";
+ return "codec";
}
std::string description() const override
@@ -446,7 +448,7 @@ class Base64_Decode final : public Command
std::string group() const override
{
- return "misc";
+ return "codec";
}
std::string description() const override