Commit 86a6d66
committed
feat: add version option to command line parser
1. Added version option to QCommandLineParser in main.cpp to display
version information
2. Removed DVERSION from debian/rules configuration as it's no longer
needed
3. Maintained DTK_VERSION setting in build configuration
The changes improve command line interface by adding standard --version
flag support while simplifying the build configuration by removing
redundant version setting.
feat: 为命令行解析器添加版本选项
1. 在 main.cpp 中为 QCommandLineParser 添加版本选项以显示版本信息
2. 从 debian/rules 配置中移除不再需要的 DVERSION 参数
3. 保留构建配置中的 DTK_VERSION 设置
这些改动通过添加标准的 --version 标志支持改进了命令行界面,同时通过移除
冗余的版本设置简化了构建配置。1 parent 259fda7 commit 86a6d66
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments