Commit 1438de69 authored by nanahira's avatar nanahira

rename

parent 10f10185
......@@ -48,10 +48,10 @@ export default class MinecraftInfoPlugin extends BasePlugin<any> {
@UseCommand('mcinfo', '查询 Minecraft 服务器信息。')
@CommandUsage('查询指定的 Minecraft 服务器信息。')
@CommandExample('mcinfo -h 2b2t.org')
@CommandExample('mcinfo -h 2b2t.org -p 25565')
@CommandExample('mcinfo -s 2b2t.org')
@CommandExample('mcinfo -s 2b2t.org -p 25565')
async onQueryServer(
@PutOption('host', '-h <host:string> 服务器地址') host: string,
@PutOption('host', '-s <host:string> 服务器地址') host: string,
@PutOption('port', '-p <port:posint> 服务器端口,默认 25565') port: number,
) {
if (!host) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment