(player_coms): Fix shutdown's c_form: first argument is not optional.

This commit is contained in:
Markus Armbruster 2007-01-20 20:19:16 +00:00
parent dccc0d1349
commit 516f42e063
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
.TH Command SHUTDOWN .TH Command SHUTDOWN
.NA shutdown "Shut down the server" .NA shutdown "Shut down the server"
.LV Expert .LV Expert
.SY "shutdown [<minutes>] <disable update?>" .SY "shutdown <minutes> <disable update?>"
Shutdown the server in <minutes> minutes. If <minutes> is 0 or not Shutdown the server in <minutes> minutes. If <minutes> is 0,
specified, then any previous shutdown request will be canceled. If then any previous shutdown request will be canceled. If
the second argument is a "n" then updates will not be disabled the second argument is a "n" then updates will not be disabled
(otherwise they will be). (otherwise they will be).
.s1 .s1

View file

@ -231,7 +231,7 @@ struct cmndstr player_coms[] = {
{"shoot <c|u> <SECTS> <NUMBER>", 3, shoo, C_MOD, NORM + MONEY + CAP}, {"shoot <c|u> <SECTS> <NUMBER>", 3, shoo, C_MOD, NORM + MONEY + CAP},
{"show <TYPE|\"bridge\"|\"tower\"> <\"build\"|\"stats\"|\"cap\"> [<tech>]", {"show <TYPE|\"bridge\"|\"tower\"> <\"build\"|\"stats\"|\"cap\"> [<tech>]",
0, show, 0, VIS}, 0, show, 0, VIS},
{"shutdown [<minutes>] <disable update?>", 0, shut, 0, GOD}, {"shutdown <minutes> <disable update?>", 0, shut, 0, GOD},
{"sinfrastructure <SECTS>", 0, sinfra, 0, VIS}, {"sinfrastructure <SECTS>", 0, sinfra, 0, VIS},
{"skywatch <SECTS>", 1, skyw, C_MOD, NORM + CAP}, {"skywatch <SECTS>", 1, skyw, C_MOD, NORM + CAP},
{"smap <SECTS|SHIP> [s|l|n|p|*|h]", 0, map, C_MOD, NORM}, {"smap <SECTS|SHIP> [s|l|n|p|*|h]", 0, map, C_MOD, NORM},