From 515b1d283f782ba4eadbfb83c310e1ebf2a53bd4 Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sat, 6 Jul 2024 14:29:16 +0800 Subject: [PATCH 1/2] Fix export command usage --- include/vcpkg/base/message-data.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vcpkg/base/message-data.inc.h b/include/vcpkg/base/message-data.inc.h index 6e066f52bc..6ae9baf733 100644 --- a/include/vcpkg/base/message-data.inc.h +++ b/include/vcpkg/base/message-data.inc.h @@ -613,7 +613,7 @@ DECLARE_MESSAGE(CmdExportEmptyPlan, DECLARE_MESSAGE(CmdExportExample1, (), "This is a command line, only and the out_dir part should be localized", - "vcpkg export [--nuget] [--directory=out_dir]") + "vcpkg export [--nuget] [--output-dir=out_dir]") DECLARE_MESSAGE(CmdExportOpt7Zip, (), "", "Exports to a 7zip (.7z) file") DECLARE_MESSAGE(CmdExportOptChocolatey, (), "", "Exports a Chocolatey package (experimental)") DECLARE_MESSAGE(CmdExportOptDebug, (), "", "Enables prefab debug") From 8db51dfc7371f2d61a7b324df64eb21afb69f6e2 Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sat, 6 Jul 2024 07:45:23 +0000 Subject: [PATCH 2/2] Format and regenerate messages --- locales/messages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/messages.json b/locales/messages.json index fdd5df0bf9..f83304a94d 100644 --- a/locales/messages.json +++ b/locales/messages.json @@ -358,7 +358,7 @@ "CmdEnvOptions": "Adds installed {path} to {env_var}", "_CmdEnvOptions.comment": "An example of {path} is /foo/bar. An example of {env_var} is VCPKG_DEFAULT_TRIPLET.", "CmdExportEmptyPlan": "Refusing to create an export of zero packages. Install packages before exporting.", - "CmdExportExample1": "vcpkg export [--nuget] [--directory=out_dir]", + "CmdExportExample1": "vcpkg export [--nuget] [--output-dir=out_dir]", "_CmdExportExample1.comment": "This is a command line, only and the out_dir part should be localized", "CmdExportOpt7Zip": "Exports to a 7zip (.7z) file", "CmdExportOptChocolatey": "Exports a Chocolatey package (experimental)",