diff --git a/sample/config.sample.sh b/sample/config.sample.sh index 8dd2c660..2ff6aff5 100644 --- a/sample/config.sample.sh +++ b/sample/config.sample.sh @@ -1,6 +1,6 @@ ## Version: v2.0.0 -## Date: 2021-05-07 -## Update Content: 新一版青龙。 +## Date: 2021-05-10 +## Update Content: 青龙v2 ## 上面版本号中,如果第2位数字有变化,那么代表增加了新的参数,如果只有第3位数字有变化,仅代表更新了注释,没有增加新的参数,可更新可不更新 @@ -10,7 +10,7 @@ AutoDelCron="true" ## 在运行 ql repo 命令时,是否自动增加新的本地定时任务 AutoAddCron="true" -## 设置定时任务执行的超时时间,默认1h,后缀后缀"s"代表秒(默认值), "m"代表分, "h"代表小时, "d"代表天 +## 设置定时任务执行的超时时间,默认1h,后缀"s"代表秒(默认值), "m"代表分, "h"代表小时, "d"代表天 CommandTimeoutTime="1h" ## 在运行 task 命令时,随机延迟启动任务的最大延迟时间 diff --git a/shell/update.sh b/shell/update.sh index 9e9a78f7..0cca5f39 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -249,8 +249,8 @@ usage() { echo -e "本脚本用法:" echo -e "1. $cmd_update update # 更新青龙,并且运行extra.sh" echo -e "2. $cmd_update restart # 重新启动青龙并编译,不会运行extra.sh" - echo -e "3. $cmd_update raw # 更新单个文件脚本" - echo -e "4. $cmd_update repo # 更新仓库的脚本" + echo -e "3. $cmd_update raw # 更新单个脚本文件" + echo -e "4. $cmd_update repo # 更新单个仓库的脚本" echo -e "5. $cmd_update rmlog # 删除旧日志" echo -e "6. $cmd_update code # 获取互助码" echo -e "6. $cmd_update bot # 启动tg-bot"