修复cmd的help问题和scrinfo说明语法
This commit is contained in:
@@ -161,9 +161,9 @@ do--commands.help(arg)
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
scrinfo={
|
scrinfo={
|
||||||
description="Display information about game window'.",
|
description="Display information about the game window.",
|
||||||
details={
|
details={
|
||||||
"Display information about game window'.",
|
"Display information about the game window.",
|
||||||
"",
|
"",
|
||||||
"Usage: scrinfo",
|
"Usage: scrinfo",
|
||||||
},
|
},
|
||||||
@@ -249,8 +249,8 @@ do--commands.help(arg)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--help or help [page]
|
--help or help [page]
|
||||||
arg=tonumber(arg)
|
if arg==""then arg=1 else arg=tonumber(arg)end
|
||||||
if arg and arg>=1 and arg<=maxPage then
|
if arg and arg==int(arg)and arg>=1 and arg<=maxPage then
|
||||||
log"Use help [page] to view more commands,"
|
log"Use help [page] to view more commands,"
|
||||||
log"or help [command_name] for details of a command."
|
log"or help [command_name] for details of a command."
|
||||||
log""
|
log""
|
||||||
|
|||||||
Reference in New Issue
Block a user