diff --git a/command/sleep.md b/command/sleep.md index 6709eeed73..0310b2353d 100644 --- a/command/sleep.md +++ b/command/sleep.md @@ -15,9 +15,13 @@ sleep(参数) ### 参数 -时间:指定要暂停时间的长度。 +时间:指定要暂停时间的长度, 包括如下: -时间长度,后面可接 s、m、h 或 d,其中 s 为秒,m 为 分钟,h 为小时,d 为日数。 +* `2s`: 2秒 +* `2m`: 2分钟 +* `2h`: 2小时 +* `2d`: 2天 +* `infinity`: 永久 ### 实例 @@ -36,4 +40,3 @@ for ((i=0;$i<=100;i++)) echo ``` -