🔧 Fixed the % escape issue in the help message

This commit is contained in:
bitcookies
2026-03-22 13:06:37 +08:00
parent 432fbf45c3
commit ea6158b291
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ void ShowHelp(const std::wstring& version) {
std::wcout << L"Options:\n";
std::wcout << L" -e, --encoding <enc> utf8 (default), ascii, ansi\n";
std::wcout << L" -o, --output <file> Output file (default: rarreg.key)\n";
std::wcout << L" -a, --activate Write to %%APPDATA%%\\WinRAR\\rarreg.key\n";
std::wcout << L" -a, --activate Write to %APPDATA%\\WinRAR\\rarreg.key\n";
std::wcout << L" -t, --text Print to console only, don't write file\n";
std::wcout << L" -v, --version Show version\n";
std::wcout << L" -h, --help Show this help\n\n";
Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -51,8 +51,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,0,0,0
PRODUCTVERSION 4,0,0,0
FILEVERSION 4,0,1,0
PRODUCTVERSION 4,0,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "WinRAR Keygen"
VALUE "FileDescription", "WinRAR Key Generation Tool"
VALUE "FileVersion", "4.0.0.0"
VALUE "FileVersion", "4.0.1.0"
VALUE "InternalName", "winrar-keygen.exe"
VALUE "LegalCopyright", "Copyright (C) 2021 Bitcookies"
VALUE "OriginalFilename", "winrar-keygen.exe"
VALUE "ProductName", "WinRAR Keygen"
VALUE "ProductVersion", "4.0.0.0"
VALUE "ProductVersion", "4.0.1.0"
END
END
BLOCK "VarFileInfo"