Skip to content

Commit

Permalink
Update sleep.md (#448)
Browse files Browse the repository at this point in the history
清晰文档实例, 并添加`infinity`参数选项
  • Loading branch information
hujingnb authored Nov 15, 2022
1 parent 3f09e8e commit 60208b4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions command/sleep.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ sleep(参数)

### 参数

时间:指定要暂停时间的长度
时间:指定要暂停时间的长度, 包括如下:

时间长度,后面可接 s、m、h 或 d,其中 s 为秒,m 为 分钟,h 为小时,d 为日数。
* `2s`: 2秒
* `2m`: 2分钟
* `2h`: 2小时
* `2d`: 2天
* `infinity`: 永久

### 实例

Expand All @@ -36,4 +40,3 @@ for ((i=0;$i<=100;i++))
echo
```


0 comments on commit 60208b4

Please sign in to comment.