-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tldr: update Chinese translation (#13697)
- Loading branch information
1 parent
e1efc6d
commit e5bde4b
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# tldr | ||
|
||
> 简化过的 man 帮助手册。 | ||
> 显示来自 tldr-pages 项目的命令行工具的简单帮助页面。 | ||
> 注意:`--language` 和 `--list` 选项并非客户端规范所必需,但大多数客户端都实现了它们。 | ||
> 更多信息:<https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#command-line-interface>. | ||
- 获取一个命令的用例(提示:这就是你怎么得到本信息的): | ||
- 打印指定命令的 tldr 页面(提示:这就是你来到这里的方式!): | ||
|
||
`tldr {{command}}` | ||
`tldr {{命令}}` | ||
|
||
- 展示 Linux 下 tar 的 tldr 文档: | ||
- 打印指定子命令的 tldr 页面: | ||
|
||
`tldr -p {{linux}} {{tar}}` | ||
`tldr {{命令}} {{子命令}}` | ||
|
||
- 获取一个 Git 子命令的帮助: | ||
- 用指定语言打印命令的 tldr 页面(如果没有,返回英语): | ||
|
||
`tldr {{git checkout}}` | ||
`tldr --language {{语言代码}} {{命令}}` | ||
|
||
- 更新本地页面(如果客户端支持缓存): | ||
- 打印指定平台的命令的 tldr 页面: | ||
|
||
`tldr -u` | ||
`tldr --platform {{android|common|freebsd|linux|osx|netbsd|openbsd|sunos|windows}} {{命令}}` | ||
|
||
- 更新 tldr 页面的本地缓存: | ||
|
||
`tldr --update` | ||
|
||
- 列出当前平台和 `common` 的所有页面: | ||
|
||
`tldr --list` | ||
|
||
- 列出某个命令的所有可用子命令页面: | ||
|
||
`tldr --list | grep {{命令}} | column` |