diff --git a/include/vcpkg/base/messages.h b/include/vcpkg/base/messages.h index b046fc8ec8..224084a65a 100644 --- a/include/vcpkg/base/messages.h +++ b/include/vcpkg/base/messages.h @@ -413,7 +413,7 @@ namespace vcpkg (msg::command_line), "", "'{command_line}' requires an active manifest file."); - DECLARE_MESSAGE(AddPortSucceded, (), "", "Succeeded in adding ports to vcpkg.json file."); + DECLARE_MESSAGE(AddPortSucceeded, (), "", "Succeeded in adding ports to vcpkg.json file."); DECLARE_MESSAGE(AddTripletExpressionNotAllowed, (msg::package_name, msg::triplet), "", @@ -645,7 +645,7 @@ namespace vcpkg "command:\n" "{command_line}\n" "failed with the following results:"); - DECLARE_MESSAGE(CompressFolderFailed, (msg::path), "", "Failed to compress folder '{path}':"); + DECLARE_MESSAGE(CompressFolderFailed, (msg::path), "", "Failed to compress folder \"{path}\":"); DECLARE_MESSAGE(CouldNotDeduceNugetIdAndVersion, (msg::path), "", @@ -664,9 +664,9 @@ namespace vcpkg DECLARE_MESSAGE(DefaultPathToBinaries, (msg::path), "", - "Based on your system settings, the default path to store binaries is \n '{path}'. This consults " + "Based on your system settings, the default path to store binaries is \"{path}\". This consults " "%LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms."); - DECLARE_MESSAGE(DetectCompilerHash, (msg::triplet), "", "Detecting compiler hash for triplet \"{triplet}\"..."); + DECLARE_MESSAGE(DetectCompilerHash, (msg::triplet), "", "Detecting compiler hash for triplet {triplet}..."); DECLARE_MESSAGE(DownloadAvailable, (msg::env_var), "", @@ -739,7 +739,7 @@ namespace vcpkg DECLARE_MESSAGE(ErrorVsCodeNotFound, (msg::env_var), "", - "Visual Studio Code was not found and the environment variable '{env_var}' is not set or invalid."); + "Visual Studio Code was not found and the environment variable {env_var} is not set or invalid."); DECLARE_MESSAGE(ErrorVsCodeNotFoundPathExamined, (), "", "The following paths were examined:"); DECLARE_MESSAGE(ExcludedPackage, (msg::spec), "", "Excluded {spec}"); DECLARE_MESSAGE( @@ -750,7 +750,7 @@ namespace vcpkg DECLARE_MESSAGE(ExpectedFailOrSkip, (), "", "expected 'fail', 'skip', or 'pass' here"); DECLARE_MESSAGE(ExpectedPortName, (), "", "expected a port name here"); DECLARE_MESSAGE(ExpectedTripletName, (), "", "expected a triplet name here"); - DECLARE_MESSAGE(ExtendedDocumenationAtUrl, (msg::url), "", "Extended documentation available at '{url}'."); + DECLARE_MESSAGE(ExtendedDocumentationAtUrl, (msg::url), "", "Extended documentation available at '{url}'."); DECLARE_MESSAGE(FailedToProvisionCe, (), "", "Failed to provision vcpkg-ce."); DECLARE_MESSAGE(FailedToRunToolToDetermineVersion, (msg::tool_name, msg::path), @@ -758,10 +758,7 @@ namespace vcpkg "the line after this message", "Failed to run {path} to determine the {tool_name} version."); DECLARE_MESSAGE(FailedToStoreBackToMirror, (), "", "failed to store back to mirror:"); - DECLARE_MESSAGE(FailedToStoreBinaryCache, - (msg::path, msg::error_msg), - "", - "Failed to store binary cache '{path}':'{error_msg}'"); + DECLARE_MESSAGE(FailedToStoreBinaryCache, (msg::path), "", "Failed to store binary cache {path}"); DECLARE_MESSAGE(FailedVendorAuthentication, (msg::vendor, msg::url), "", @@ -776,10 +773,6 @@ namespace vcpkg (msg::value), "Example of {value} is 'x64 & windows'", "on expression: {value}"); - DECLARE_MESSAGE(FuzzExpectedOneOf, - (), - "the list after the colon should stay the same, they're literal values", - "expected one of: utf-8, json, platform-expr"); DECLARE_MESSAGE(GenerateMsgErrorParsingFormatArgs, (msg::value), "example of {value} 'GenerateMsgNoComment'", @@ -819,7 +812,7 @@ namespace vcpkg DECLARE_MESSAGE(InfoSetEnvVar, (msg::env_var), "In this context 'editor' means IDE", - "You can also set the environment variable '{env_var}' to your editor of choice."); + "You can also set the environment variable {env_var} to your editor of choice."); DECLARE_MESSAGE(InstallingFromLocation, (msg::path), "'--' at the beginning must be preserved", @@ -1132,7 +1125,7 @@ namespace vcpkg (msg::url, msg::old_value, msg::new_value), "example of {old_value}, {new_value} is '5507daa796359fe8d45418e694328e878ac2b82f'", "updated registry '{url}': baseline '{old_value}' -> '{new_value}'"); - DECLARE_MESSAGE(UploadedBinaries, (msg::count, msg::vendor), "", "Uploaded binaries to '{count}' '{vendor}'."); + DECLARE_MESSAGE(UploadedBinaries, (msg::count, msg::vendor), "", "Uploaded binaries to {count} {vendor}."); DECLARE_MESSAGE(UploadedPackagesToVendor, (msg::count, msg::elapsed, msg::vendor), "", diff --git a/locales/messages.en.json b/locales/messages.en.json index a38d698aba..39737749c1 100644 --- a/locales/messages.en.json +++ b/locales/messages.en.json @@ -2,7 +2,7 @@ "AddArtifactOnlyOne": "'{command_line}' can only add one artifact at a time.", "AddFirstArgument": "The first argument to '{command_line}' must be 'artifact' or 'port'.", "AddPortRequiresManifest": "'{command_line}' requires an active manifest file.", - "AddPortSucceded": "Succeeded in adding ports to vcpkg.json file.", + "AddPortSucceeded": "Succeeded in adding ports to vcpkg.json file.", "AddTripletExpressionNotAllowed": "triplet expressions are not allowed here. You may want to change `{package_name}:{triplet}` to `{package_name}` instead.", "AddVersionAddedVersionToFile": "added version {version} to {path}", "AddVersionCommitChangesReminder": "Did you remember to commit your changes?", @@ -72,11 +72,11 @@ "CiBaselineUnexpectedPass": "PASSING, REMOVE FROM FAIL LIST: {spec} ({path}).", "CmakeTargetsExcluded": "note: {count} additional targets are not displayed.", "CommandFailed": "command:\n{command_line}\nfailed with the following results:", - "CompressFolderFailed": "Failed to compress folder '{path}':", + "CompressFolderFailed": "Failed to compress folder \"{path}\":", "CouldNotDeduceNugetIdAndVersion": "Could not deduce nuget id and version from filename: {path}", "CurlReportedUnexpectedResults": "curl has reported unexpected results to vcpkg and vcpkg cannot continue.\nPlease review the following text for sensitive information and open an issue on the Microsoft/vcpkg GitHub to help fix this problem!\ncmd: {command_line}\n=== curl output ===\n{actual}\n=== end curl output ===", - "DefaultPathToBinaries": "Based on your system settings, the default path to store binaries is \n '{path}'. This consults %LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms.", - "DetectCompilerHash": "Detecting compiler hash for triplet \"{triplet}\"...", + "DefaultPathToBinaries": "Based on your system settings, the default path to store binaries is \"{path}\". This consults %LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms.", + "DetectCompilerHash": "Detecting compiler hash for triplet {triplet}...", "DownloadAvailable": "A downloadable copy of this tool is available and can be used by unsetting {env_var}.", "DownloadedSources": "Downloaded sources for {spec}", "DownloadingVcpkgCeBundle": "Downloading vcpkg-ce bundle {version}...", @@ -99,22 +99,21 @@ "ErrorRequirePackagesList": "`vcpkg install` requires a list of packages to install in classic mode.", "ErrorUnableToDetectCompilerInfo": "vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.", "ErrorVcvarsUnsupported": "in triplet {triplet}: Use of Visual Studio's Developer Prompt is unsupported on non-Windows hosts.\nDefine 'VCPKG_CMAKE_SYSTEM_NAME' or 'VCPKG_CHAINLOAD_TOOLCHAIN_FILE' in the triplet file.", - "ErrorVsCodeNotFound": "Visual Studio Code was not found and the environment variable '{env_var}' is not set or invalid.", + "ErrorVsCodeNotFound": "Visual Studio Code was not found and the environment variable {env_var} is not set or invalid.", "ErrorVsCodeNotFoundPathExamined": "The following paths were examined:", "ExcludedPackage": "Excluded {spec}", "ExpectedCharacterHere": "expected '{expected}' here", "ExpectedFailOrSkip": "expected 'fail', 'skip', or 'pass' here", "ExpectedPortName": "expected a port name here", "ExpectedTripletName": "expected a triplet name here", - "ExtendedDocumenationAtUrl": "Extended documentation available at '{url}'.", + "ExtendedDocumentationAtUrl": "Extended documentation available at '{url}'.", "FailedToProvisionCe": "Failed to provision vcpkg-ce.", "FailedToRunToolToDetermineVersion": "Failed to run {path} to determine the {tool_name} version.", "FailedToStoreBackToMirror": "failed to store back to mirror:", - "FailedToStoreBinaryCache": "Failed to store binary cache '{path}':'{error_msg}'", + "FailedToStoreBinaryCache": "Failed to store binary cache {path}", "FailedVendorAuthentication": "One or more {vendor} credential providers failed to authenticate. See '{url}' for more details on how to provide credentials.", "ForceSystemBinariesOnWeirdPlatforms": "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, and ppc64le platforms.", "FormattedParseMessageExpression": "on expression: {value}", - "FuzzExpectedOneOf": "expected one of: utf-8, json, platform-expr", "GenerateMsgErrorParsingFormatArgs": "parsing format string for {value}:", "GenerateMsgIncorrectComment": "message {value} has an incorrect comment:", "GenerateMsgNoArgumentValue": "{{{value}}} was specified in a comment, but was not used in the message.", @@ -130,7 +129,7 @@ "HeaderOnlyUsage": "{package_name} is header-only and can be used from CMake via:", "IllegalFeatures": "List of features is not allowed in this context", "IllegalPlatformSpec": "Platform qualifier is not allowed in this context", - "InfoSetEnvVar": "You can also set the environment variable '{env_var}' to your editor of choice.", + "InfoSetEnvVar": "You can also set the environment variable {env_var} to your editor of choice.", "InstallWithSystemManager": "You may be able to install this tool via your system package manager.", "InstallWithSystemManagerMono": "Ubuntu 18.04 users may need a newer version of mono, available at {url}.", "InstallWithSystemManagerPkg": "You may be able to install this tool via your system package manager ({command_line}).", @@ -221,7 +220,7 @@ "UpdateBaselineNoUpdate": "registry '{url}' not updated: '{value}'", "UpdateBaselineRemoteGitError": "git failed to fetch remote repository '{url}'", "UpdateBaselineUpdatedBaseline": "updated registry '{url}': baseline '{old_value}' -> '{new_value}'", - "UploadedBinaries": "Uploaded binaries to '{count}' '{vendor}'.", + "UploadedBinaries": "Uploaded binaries to {count} {vendor}.", "UploadedPackagesToVendor": "Uploaded {count} package(s) to {vendor} in {elapsed}", "UploadingBinariesToVendor": "Uploading binaries for '{spec}' to '{vendor}' source '{path}'.", "UploadingBinariesUsingVendor": "Uploading binaries for '{spec}' using '{vendor}' '{path}'.", diff --git a/locales/messages.json b/locales/messages.json index 3a063c0288..4d94a58546 100644 --- a/locales/messages.json +++ b/locales/messages.json @@ -5,7 +5,7 @@ "_AddFirstArgument.comment": "An example of {command_line} is vcpkg install zlib.", "AddPortRequiresManifest": "'{command_line}' requires an active manifest file.", "_AddPortRequiresManifest.comment": "An example of {command_line} is vcpkg install zlib.", - "AddPortSucceded": "Succeeded in adding ports to vcpkg.json file.", + "AddPortSucceeded": "Succeeded in adding ports to vcpkg.json file.", "AddTripletExpressionNotAllowed": "triplet expressions are not allowed here. You may want to change `{package_name}:{triplet}` to `{package_name}` instead.", "_AddTripletExpressionNotAllowed.comment": "An example of {package_name} is zlib. An example of {triplet} is x64-windows.", "AddVersionAddedVersionToFile": "added version {version} to {path}", @@ -132,15 +132,15 @@ "_CmakeTargetsExcluded.comment": "An example of {count} is 42.", "CommandFailed": "command:\n{command_line}\nfailed with the following results:", "_CommandFailed.comment": "An example of {command_line} is vcpkg install zlib.", - "CompressFolderFailed": "Failed to compress folder '{path}':", + "CompressFolderFailed": "Failed to compress folder \"{path}\":", "_CompressFolderFailed.comment": "An example of {path} is /foo/bar.", "CouldNotDeduceNugetIdAndVersion": "Could not deduce nuget id and version from filename: {path}", "_CouldNotDeduceNugetIdAndVersion.comment": "An example of {path} is /foo/bar.", "CurlReportedUnexpectedResults": "curl has reported unexpected results to vcpkg and vcpkg cannot continue.\nPlease review the following text for sensitive information and open an issue on the Microsoft/vcpkg GitHub to help fix this problem!\ncmd: {command_line}\n=== curl output ===\n{actual}\n=== end curl output ===", "_CurlReportedUnexpectedResults.comment": "{command_line} is the command line to call curl.exe, {actual} is the console output of curl.exe locale-invariant download results. An example of {command_line} is vcpkg install zlib.", - "DefaultPathToBinaries": "Based on your system settings, the default path to store binaries is \n '{path}'. This consults %LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms.", + "DefaultPathToBinaries": "Based on your system settings, the default path to store binaries is \"{path}\". This consults %LOCALAPPDATA%/%APPDATA% on Windows and $XDG_CACHE_HOME or $HOME on other platforms.", "_DefaultPathToBinaries.comment": "An example of {path} is /foo/bar.", - "DetectCompilerHash": "Detecting compiler hash for triplet \"{triplet}\"...", + "DetectCompilerHash": "Detecting compiler hash for triplet {triplet}...", "_DetectCompilerHash.comment": "An example of {triplet} is x64-windows.", "DownloadAvailable": "A downloadable copy of this tool is available and can be used by unsetting {env_var}.", "_DownloadAvailable.comment": "An example of {env_var} is VCPKG_DEFAULT_TRIPLET.", @@ -179,7 +179,7 @@ "_ErrorUnableToDetectCompilerInfo.comment": "failure output will be displayed at the top of this", "ErrorVcvarsUnsupported": "in triplet {triplet}: Use of Visual Studio's Developer Prompt is unsupported on non-Windows hosts.\nDefine 'VCPKG_CMAKE_SYSTEM_NAME' or 'VCPKG_CHAINLOAD_TOOLCHAIN_FILE' in the triplet file.", "_ErrorVcvarsUnsupported.comment": "An example of {triplet} is x64-windows.", - "ErrorVsCodeNotFound": "Visual Studio Code was not found and the environment variable '{env_var}' is not set or invalid.", + "ErrorVsCodeNotFound": "Visual Studio Code was not found and the environment variable {env_var} is not set or invalid.", "_ErrorVsCodeNotFound.comment": "An example of {env_var} is VCPKG_DEFAULT_TRIPLET.", "ErrorVsCodeNotFoundPathExamined": "The following paths were examined:", "ExcludedPackage": "Excluded {spec}", @@ -189,21 +189,19 @@ "ExpectedFailOrSkip": "expected 'fail', 'skip', or 'pass' here", "ExpectedPortName": "expected a port name here", "ExpectedTripletName": "expected a triplet name here", - "ExtendedDocumenationAtUrl": "Extended documentation available at '{url}'.", - "_ExtendedDocumenationAtUrl.comment": "An example of {url} is https://github.com/microsoft/vcpkg.", + "ExtendedDocumentationAtUrl": "Extended documentation available at '{url}'.", + "_ExtendedDocumentationAtUrl.comment": "An example of {url} is https://github.com/microsoft/vcpkg.", "FailedToProvisionCe": "Failed to provision vcpkg-ce.", "FailedToRunToolToDetermineVersion": "Failed to run {path} to determine the {tool_name} version.", "_FailedToRunToolToDetermineVersion.comment": "Additional information, such as the command line output, if any, will be appended on the line after this message An example of {tool_name} is aria2. An example of {path} is /foo/bar.", "FailedToStoreBackToMirror": "failed to store back to mirror:", - "FailedToStoreBinaryCache": "Failed to store binary cache '{path}':'{error_msg}'", - "_FailedToStoreBinaryCache.comment": "An example of {path} is /foo/bar. An example of {error_msg} is File Not Found.", + "FailedToStoreBinaryCache": "Failed to store binary cache {path}", + "_FailedToStoreBinaryCache.comment": "An example of {path} is /foo/bar.", "FailedVendorAuthentication": "One or more {vendor} credential providers failed to authenticate. See '{url}' for more details on how to provide credentials.", "_FailedVendorAuthentication.comment": "An example of {vendor} is Azure. An example of {url} is https://github.com/microsoft/vcpkg.", "ForceSystemBinariesOnWeirdPlatforms": "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, and ppc64le platforms.", "FormattedParseMessageExpression": "on expression: {value}", "_FormattedParseMessageExpression.comment": "Example of {value} is 'x64 & windows'", - "FuzzExpectedOneOf": "expected one of: utf-8, json, platform-expr", - "_FuzzExpectedOneOf.comment": "the list after the colon should stay the same, they're literal values", "GenerateMsgErrorParsingFormatArgs": "parsing format string for {value}:", "_GenerateMsgErrorParsingFormatArgs.comment": "example of {value} 'GenerateMsgNoComment'", "GenerateMsgIncorrectComment": "message {value} has an incorrect comment:", @@ -228,7 +226,7 @@ "_HeaderOnlyUsage.comment": "'header' refers to C/C++ .h files An example of {package_name} is zlib.", "IllegalFeatures": "List of features is not allowed in this context", "IllegalPlatformSpec": "Platform qualifier is not allowed in this context", - "InfoSetEnvVar": "You can also set the environment variable '{env_var}' to your editor of choice.", + "InfoSetEnvVar": "You can also set the environment variable {env_var} to your editor of choice.", "_InfoSetEnvVar.comment": "In this context 'editor' means IDE An example of {env_var} is VCPKG_DEFAULT_TRIPLET.", "InstallWithSystemManager": "You may be able to install this tool via your system package manager.", "InstallWithSystemManagerMono": "Ubuntu 18.04 users may need a newer version of mono, available at {url}.", @@ -385,7 +383,7 @@ "_UpdateBaselineRemoteGitError.comment": "An example of {url} is https://github.com/microsoft/vcpkg.", "UpdateBaselineUpdatedBaseline": "updated registry '{url}': baseline '{old_value}' -> '{new_value}'", "_UpdateBaselineUpdatedBaseline.comment": "example of {old_value}, {new_value} is '5507daa796359fe8d45418e694328e878ac2b82f' An example of {url} is https://github.com/microsoft/vcpkg.", - "UploadedBinaries": "Uploaded binaries to '{count}' '{vendor}'.", + "UploadedBinaries": "Uploaded binaries to {count} {vendor}.", "_UploadedBinaries.comment": "An example of {count} is 42. An example of {vendor} is Azure.", "UploadedPackagesToVendor": "Uploaded {count} package(s) to {vendor} in {elapsed}", "_UploadedPackagesToVendor.comment": "An example of {count} is 42. An example of {elapsed} is 3.532 min. An example of {vendor} is Azure.", diff --git a/src/vcpkg-fuzz/main.cpp b/src/vcpkg-fuzz/main.cpp index bf4e1be739..8eeccabff8 100644 --- a/src/vcpkg-fuzz/main.cpp +++ b/src/vcpkg-fuzz/main.cpp @@ -16,6 +16,10 @@ using namespace vcpkg; namespace { + DECLARE_AND_REGISTER_MESSAGE(FuzzExpectedOneOf, + (), + "the list after the colon should stay the same, they're literal values", + "expected one of: utf-8, json, platform-expr"); DECLARE_AND_REGISTER_MESSAGE(FuzzHelpInput, (), "", "accepts input on stdin."); DECLARE_AND_REGISTER_MESSAGE(FuzzHelpOptionKind, (), "", "one of {{utf-8, json, platform-expr}}"); DECLARE_AND_REGISTER_MESSAGE(FuzzHelpOptions, (), "", "options:"); diff --git a/src/vcpkg/base/messages.cpp b/src/vcpkg/base/messages.cpp index e3acc1bde7..4f56e2c89c 100644 --- a/src/vcpkg/base/messages.cpp +++ b/src/vcpkg/base/messages.cpp @@ -408,7 +408,7 @@ namespace vcpkg REGISTER_MESSAGE(AddArtifactOnlyOne); REGISTER_MESSAGE(AddFirstArgument); REGISTER_MESSAGE(AddPortRequiresManifest); - REGISTER_MESSAGE(AddPortSucceded); + REGISTER_MESSAGE(AddPortSucceeded); REGISTER_MESSAGE(AddTripletExpressionNotAllowed); REGISTER_MESSAGE(AddVersionAddedVersionToFile); REGISTER_MESSAGE(AddVersionCommitChangesReminder); @@ -509,7 +509,7 @@ namespace vcpkg REGISTER_MESSAGE(ExpectedFailOrSkip); REGISTER_MESSAGE(ExpectedPortName); REGISTER_MESSAGE(ExpectedTripletName); - REGISTER_MESSAGE(ExtendedDocumenationAtUrl); + REGISTER_MESSAGE(ExtendedDocumentationAtUrl); REGISTER_MESSAGE(FailedToProvisionCe); REGISTER_MESSAGE(FailedToRunToolToDetermineVersion); REGISTER_MESSAGE(FailedToStoreBackToMirror); @@ -517,7 +517,6 @@ namespace vcpkg REGISTER_MESSAGE(FailedVendorAuthentication); REGISTER_MESSAGE(ForceSystemBinariesOnWeirdPlatforms); REGISTER_MESSAGE(FormattedParseMessageExpression); - REGISTER_MESSAGE(FuzzExpectedOneOf); REGISTER_MESSAGE(GenerateMsgErrorParsingFormatArgs); REGISTER_MESSAGE(GenerateMsgIncorrectComment); REGISTER_MESSAGE(GenerateMsgNoArgumentValue); diff --git a/src/vcpkg/binarycaching.cpp b/src/vcpkg/binarycaching.cpp index d6c012804c..a7cffdd664 100644 --- a/src/vcpkg/binarycaching.cpp +++ b/src/vcpkg/binarycaching.cpp @@ -358,9 +358,9 @@ namespace if (ec) { msg::println(Color::warning, - msgFailedToStoreBinaryCache, - msg::path = archive_path, - msg::error_msg = ec.message()); + msg::format(msgFailedToStoreBinaryCache, msg::path = archive_path) + .append_raw('\n') + .append_raw(ec.message())); } else { @@ -2465,7 +2465,7 @@ void vcpkg::help_topic_asset_caching(const VcpkgPaths&) "specified as `read`, `write`, or `readwrite` and defaults to `read`."); tbl.blank(); print2(tbl.m_str); - msg::println(msgExtendedDocumenationAtUrl, msg::url = docs::assetcaching_url); + msg::println(msgExtendedDocumentationAtUrl, msg::url = docs::assetcaching_url); } void vcpkg::help_topic_binary_caching(const VcpkgPaths&) @@ -2547,7 +2547,7 @@ void vcpkg::help_topic_binary_caching(const VcpkgPaths&) msg::println(msgDefaultPathToBinaries, msg::path = *p); } - msg::println(msgExtendedDocumenationAtUrl, msg::url = docs::binarycaching_url); + msg::println(msgExtendedDocumentationAtUrl, msg::url = docs::binarycaching_url); } std::string vcpkg::generate_nuget_packages_config(const ActionPlan& action) diff --git a/src/vcpkg/commands.add.cpp b/src/vcpkg/commands.add.cpp index 28d6cce0fa..06d3013c8f 100644 --- a/src/vcpkg/commands.add.cpp +++ b/src/vcpkg/commands.add.cpp @@ -115,7 +115,7 @@ namespace vcpkg::Commands paths.get_filesystem().write_contents( manifest->path, Json::stringify(serialize_manifest(manifest_scf), {}), VCPKG_LINE_INFO); - msg::println(msgAddPortSucceded); + msg::println(msgAddPortSucceeded); auto command_args_hash = Strings::join(" ", Util::fmap(specs, [](auto&& spec) -> std::string { return Hash::get_string_hash(spec.name, Hash::Algorithm::Sha256);