Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note Chinese translations are stale #1550

Merged
merged 2 commits into from Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Readme_zh-CN.md
Expand Up @@ -9,6 +9,8 @@

使用其他语言阅读:[English](./Readme.md) | 简体中文

Note: this document still describes Commander v7 and has not yet been updated for Commander v8.

- [Commander.js](#commanderjs)
- [安装](#%e5%ae%89%e8%a3%85)
- [声明 program 变量](#%e5%a3%b0%e6%98%8e-program-%e5%8f%98%e9%87%8f)
Expand Down
2 changes: 2 additions & 0 deletions docs/zh-CN/不再推荐使用的功能.md
Expand Up @@ -2,6 +2,8 @@

本文中列出的功能不再推荐使用。它们在未来版本的Commander 中可能被移除。为保证后向兼容,这些功能目前还可以使用,但它们不应被用在新代码中。

Note: this document still describes Commander v7 and has not yet been updated for Commander v8.

## .option() 方法的正则表达式参数

`.option()`方法可以接受一个正则表达式作为第三个参数,以规定可以接受的选项参数值。
Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/可变参数的选项.md
Expand Up @@ -63,8 +63,8 @@ ingredient: scrambled
可以通过使用`--`来表示选项和选项参数部分的结束,以此来显式地解决这一冲突:

```sh
$ node cook.js -i -- egg
technique: egg
$ node cook.js -i -- scrambled
technique: scrambled
ingredient: cheese
```

Expand Down