From fdc3c7b01a23a14da1155b1ebab6cd16d6f83589 Mon Sep 17 00:00:00 2001 From: xsahxl Date: Sat, 28 Jan 2023 11:47:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20#620=20=E6=96=87=E6=A1=A3=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xsahxl --- docs/en/command/readme.md | 4 ++-- docs/zh/command/readme.md | 4 ++-- src/help/index.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/command/readme.md b/docs/en/command/readme.md index b26bde98..76a95d40 100644 --- a/docs/en/command/readme.md +++ b/docs/en/command/readme.md @@ -33,7 +33,7 @@ Options --skip-actions Skip the extends section. -t, --template Specify the template file. -a, --access Specify the access alias name. - -o, --output Specifies the output format. + -o, --output Specify the output format: json, yaml, raw. -v, --version Output the version number. -h, --help Display help for command. @@ -63,7 +63,7 @@ Examples | access | a | the value of the access parameter specified in a YAML file/default | Specifies the information about the key. | You can use the key information that is configured by using [the config command](command/config.md#config-add-command) or [environment variables](command/config.md#Configure keys by using environment variables). | | skip-actions | - | - | Skips the actions section that is specified in the YAML file. | - | | debug | - | - | Enables the debug mode. | After you enable the debug mode, you can obtain a larger amount of information about the execution process of a tool. | -| output | o | `default` | Specifies the output format. | Support: `default`, `json`, `yaml`, `raw`, see [detail](https://github.com/Serverless-Devs/core/blob/master/docs/common.md#execCommand) | +| output | o | `default` | Specifies the output format. | Support: `default`, `json`, `yaml`, `raw` | | version | v | - | Queries the version information. | - | | help | h | - | Queries the help information. | - | diff --git a/docs/zh/command/readme.md b/docs/zh/command/readme.md index 46ebcfd3..f3ff439b 100644 --- a/docs/zh/command/readme.md +++ b/docs/zh/command/readme.md @@ -34,7 +34,7 @@ Options --skip-actions Skip the extends section. -t, --template Specify the template file. -a, --access Specify the access alias name. - -o, --output Specifies the output format. + -o, --output Specify the output format: json, yaml, raw. -v, --version Output the version number. -h, --help Display help for command. @@ -64,7 +64,7 @@ Examples | access | a | `yaml`中所指定的`access`信息/`default` | 指定本次部署时的密钥信息 | 可以使用通过[config命令](./command/config.md#config-add-命令)配置的密钥信息,以及[配置到环境变量的密钥信息](./command/config.md#通过环境变量配置密钥信息) | | skip-actions | - | - | 跳过`yaml`所设置的`actions`模块 | - | | debug | - | - | 开启`Debug`模式 | 开启`Debug`模式后可以查看到更多的工具执行过程信息 | -| output | o | `default` | 指定数据的输出格式 | 支持`default`, `json`, `yaml`, `raw`格式, [查看详情](https://github.com/Serverless-Devs/core/blob/master/docs/common.md#execCommand) | +| output | o | `default` | 指定数据的输出格式 | 支持`default`, `json`, `yaml`, `raw`格式 | | version | v | - | 查看版本信息 | - | | help | h | - | 查看帮助信息 | - | diff --git a/src/help/index.ts b/src/help/index.ts index fbd290d6..fc0f7513 100644 --- a/src/help/index.ts +++ b/src/help/index.ts @@ -11,7 +11,7 @@ const descption = { { '--skip-actions': 'Skip the extends section.' }, { '-t, --template ': 'Specify the template file.' }, { '-a, --access ': 'Specify the access alias name.' }, - { '-o, --output ': 'Specifies the output format.' }, + { '-o, --output ': 'Specify the output format: json, yaml, raw.' }, { '-v, --version': 'Output the version number.' }, { '-h, --help': 'Display help for command.' }, ],