diff --git a/docs/功能使用说明.md b/docs/功能使用说明.md index 76f033e..1fc103a 100644 --- a/docs/功能使用说明.md +++ b/docs/功能使用说明.md @@ -8,7 +8,9 @@ ### [林纳克斯(Linux)与其衍生操作系统](./download%26start/Linux.md) ### [安卓(Android)与其衍生操作系统](./download%26start/Android.md) -## 使用教程 +## 命令行版本的使用教程 + +> 注意,图形用户界面版本无需查看此内容。 1. 参数说明 diff --git a/llc_cli.py b/llc_cli.py index 1c69627..e852498 100644 --- a/llc_cli.py +++ b/llc_cli.py @@ -180,19 +180,19 @@ def is_in_bdx_mcpack(sth: str): ) -def is_in_player(sth: str, in_ok: tuple): +def is_in_player(sth: str, in_ok: tuple = (0,1,2)): return isin( sth, dict( [ (i, v) for i, v in [ - 0, - ("delay", "0", "延迟", "帝蕾"), - 1, - ("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"), - 2, - ("repeater", "2", "中继器", "瑞皮特"), + (0, + ("delay", "0", "延迟", "帝蕾"),), + (1, + ("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"),), + (2, + ("repeater", "2", "中继器", "瑞皮特"),), ] if i in in_ok ]