📘 Update the help info to match the _tmain.cpp

This commit is contained in:
bitcookies 2026-03-22 13:08:09 +08:00
parent ea6158b291
commit cc6c7760d2
2 changed files with 2 additions and 6 deletions

View file

@ -255,7 +255,7 @@ Options:
| Flag | Description | | Flag | Description |
| :--------------------- | :--------------------------------------- | | :--------------------- | :--------------------------------------- |
| `-e, --encoding <enc>` | `ascii`, `ansi`, `utf8` (default) | | `-e, --encoding <enc>` | `utf8` (default), `ascii`, `ansi` |
| `-o, --output <file>` | Output file path (default: `rarreg.key`) | | `-o, --output <file>` | Output file path (default: `rarreg.key`) |
| `-a, --activate` | Write to `%APPDATA%\WinRAR\rarreg.key` | | `-a, --activate` | Write to `%APPDATA%\WinRAR\rarreg.key` |
| `-t, --text` | Print to console only, don't write file | | `-t, --text` | Print to console only, don't write file |
@ -268,8 +268,6 @@ Here is an example of ASCII encoding for `Github` and `Single PC usage license`.
./winrar-keygen.exe "Github" "Single PC usage license" -t -e ascii ./winrar-keygen.exe "Github" "Single PC usage license" -t -e ascii
``` ```
![Terminal](assets/terminal.png)
Now you can see the newly generated file. Now you can see the newly generated file.
```console ```console

View file

@ -250,7 +250,7 @@ Options:
| 参数 | 描述 | | 参数 | 描述 |
| :--------------------- | :-------------------------------------- | | :--------------------- | :-------------------------------------- |
| `-e, --encoding <enc>` | `ascii`, `ansi`, `utf8` (默认) | | `-e, --encoding <enc>` | `utf8` (默认), `ascii`, `ansi` |
| `-o, --output <file>` | Output file path (默认: `rarreg.key`) | | `-o, --output <file>` | Output file path (默认: `rarreg.key`) |
| `-a, --activate` | Write to `%APPDATA%\WinRAR\rarreg.key` | | `-a, --activate` | Write to `%APPDATA%\WinRAR\rarreg.key` |
| `-t, --text` | Print to console only, don't write file | | `-t, --text` | Print to console only, don't write file |
@ -263,8 +263,6 @@ Options:
./winrar-keygen.exe "Github" "Single PC usage license" -t -e ascii ./winrar-keygen.exe "Github" "Single PC usage license" -t -e ascii
``` ```
![Terminal](assets/terminal.png)
现在你可以看到新生成的文件: 现在你可以看到新生成的文件:
```console ```console