From 54b5567d6f1b1adaa6ada6a26faba0c5c492b7f3 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 14 Mar 2026 21:39:30 +0800 Subject: Add version command with banner and compile info display --- resources/helpdoc/commands/version.en.md | 16 ++++++++++++++++ resources/helpdoc/commands/version.zh-CN.md | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 resources/helpdoc/commands/version.en.md create mode 100644 resources/helpdoc/commands/version.zh-CN.md (limited to 'resources/helpdoc/commands') diff --git a/resources/helpdoc/commands/version.en.md b/resources/helpdoc/commands/version.en.md new file mode 100644 index 0000000..2c3f5ae --- /dev/null +++ b/resources/helpdoc/commands/version.en.md @@ -0,0 +1,16 @@ +> Display version information for the `jvn` tool + +## Usage +jvn version # Show basic version +jvn version --no-banner # Hide banner + +jvn version --with-compile-info +jvn version -c # Display compile info + +## Aliases +You can use the `-v` or `--version` flags to + redirect the command to version. + +### Example +jvn -v -c +jvn --version --no-banner diff --git a/resources/helpdoc/commands/version.zh-CN.md b/resources/helpdoc/commands/version.zh-CN.md new file mode 100644 index 0000000..3c3935d --- /dev/null +++ b/resources/helpdoc/commands/version.zh-CN.md @@ -0,0 +1,15 @@ +> 显示 `jvn` 工具的版本信息 + +## 使用 +jvn version # 显示基础版本号 +jvn version --no-banner # 不显示横幅,仅输出版本信息 + +jvn version --with-compile-info +jvn version -c # 显示版本号及编译信息 + +## 别名 +您可以使用 `-v` 或 `--version` 符号将命令重定向到 version + +### 例如 +jvn -v -c +jvn --version --no-banner -- cgit