diff options
Diffstat (limited to 'resources/helpdoc')
| -rw-r--r-- | resources/helpdoc/commands.en.md | 7 | ||||
| -rw-r--r-- | resources/helpdoc/commands.zh-CN.md | 7 | ||||
| -rw-r--r-- | resources/helpdoc/commands/version.en.md | 16 | ||||
| -rw-r--r-- | resources/helpdoc/commands/version.zh-CN.md | 15 |
4 files changed, 45 insertions, 0 deletions
diff --git a/resources/helpdoc/commands.en.md b/resources/helpdoc/commands.en.md index 3a7cf06..6735831 100644 --- a/resources/helpdoc/commands.en.md +++ b/resources/helpdoc/commands.en.md @@ -21,6 +21,13 @@ Show command help. > Or use `jvn helpdoc <DOCUMENT>` > for full docs. +### Version +**Flag**: `--version` or `-v` +Redirects the current command to the `version` command +to display version information. +> For usage of the version command, +> see `commands/version` + ### Renderer Override **Flag**: `--renderer <RENDERER>` Override output format. diff --git a/resources/helpdoc/commands.zh-CN.md b/resources/helpdoc/commands.zh-CN.md index fc734cf..909e4fb 100644 --- a/resources/helpdoc/commands.zh-CN.md +++ b/resources/helpdoc/commands.zh-CN.md @@ -21,6 +21,13 @@ jvn <子命令> <参数: ?> <标识符: ?> > 当然,您也可以用 `jvn helpdoc <文档>` > 来打开帮助文档页面 +### 显示版本 +**符号**:`--version` 或 `-v` +将当前命令重新定向到 `version` 命令 +以显示版本信息 +> 关于 version 命令的用法, +> 请查询 `commands/version` + ### 渲染器覆盖 **符号**:`--renderer <渲染器>` 指定覆盖渲染器,将结果以指定格式输出 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 |
