diff options
| author | sdcb <sdflysha@qq.com> | 2016-10-20 13:03:58 +0800 |
|---|---|---|
| committer | sdcb <sdflysha@qq.com> | 2016-10-20 13:03:58 +0800 |
| commit | 2b8bdeb0441c9fb83fc79bf10a761d1bf11cd287 (patch) | |
| tree | bf2c24d11941d43b32ddd0f2c06dca7f34d7adf2 /toolsrc/src/commands_other.cpp | |
| parent | cb0d924ec3fcc4fa6ee7db75a522c697ee5035e1 (diff) | |
| download | vcpkg-2b8bdeb0441c9fb83fc79bf10a761d1bf11cd287.tar.gz vcpkg-2b8bdeb0441c9fb83fc79bf10a761d1bf11cd287.zip | |
Add hash file support.
Diffstat (limited to 'toolsrc/src/commands_other.cpp')
| -rw-r--r-- | toolsrc/src/commands_other.cpp | 4 |
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; } |
