Skip to content

Commit

Permalink
fix: Serverless-Devs#620 文档补充
Browse files Browse the repository at this point in the history
Signed-off-by: xsahxl <xsahxl@126.com>
  • Loading branch information
xsahxl authored and heimanba committed Jan 29, 2023
1 parent 685baad commit fdc3c7b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/en/command/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Options
--skip-actions Skip the extends section.
-t, --template <path> Specify the template file.
-a, --access <aliasName> Specify the access alias name.
-o, --output <outputFormat> Specifies the output format.
-o, --output <outputFormat> Specify the output format: json, yaml, raw.
-v, --version Output the version number.
-h, --help Display help for command.

Expand Down Expand Up @@ -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. | - |

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/command/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Options
--skip-actions Skip the extends section.
-t, --template <path> Specify the template file.
-a, --access <aliasName> Specify the access alias name.
-o, --output <outputFormat> Specifies the output format.
-o, --output <outputFormat> Specify the output format: json, yaml, raw.
-v, --version Output the version number.
-h, --help Display help for command.

Expand Down Expand Up @@ -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 | - | 查看帮助信息 | - |

Expand Down
2 changes: 1 addition & 1 deletion src/help/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const descption = {
{ '--skip-actions': 'Skip the extends section.' },
{ '-t, --template <path>': 'Specify the template file.' },
{ '-a, --access <aliasName>': 'Specify the access alias name.' },
{ '-o, --output <outputFormat>': 'Specifies the output format.' },
{ '-o, --output <outputFormat>': 'Specify the output format: json, yaml, raw.' },
{ '-v, --version': 'Output the version number.' },
{ '-h, --help': 'Display help for command.' },
],
Expand Down

0 comments on commit fdc3c7b

Please sign in to comment.