aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_other.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_other.cpp')
-rw-r--r--toolsrc/src/commands_other.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/src/commands_other.cpp b/toolsrc/src/commands_other.cpp
index 07549a437..53d6f2506 100644
--- a/toolsrc/src/commands_other.cpp
+++ b/toolsrc/src/commands_other.cpp
@@ -14,6 +14,7 @@ namespace vcpkg
" vcpkg remove --purge <pkg> Uninstall and delete a package. \n"
" vcpkg list List installed packages\n"
" vcpkg update Display list of packages for updating\n"
+ " vcpkg hash <file> [alg] Hash a file by specific algorithm, default SHA512\n"
"\n"
"%s" // Integration help
"\n"
@@ -93,7 +94,8 @@ namespace vcpkg
{
static std::vector<package_name_and_function<command_type_c>> t = {
{"version", &version_command},
- {"contact", &contact_command}
+ {"contact", &contact_command},
+ {"hash", &hash_command },
};
return t;
}