]> git.pond.sub.org Git - empserver/commitdiff
(player_coms): Fix shutdown's c_form: first argument is not optional.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Jan 2007 20:19:16 +0000 (20:19 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 20 Jan 2007 20:19:16 +0000 (20:19 +0000)
info/shutdown.t
src/lib/player/empmod.c

index f9f5129e754271350dde5c47a7d261b667b96d6d..e081bf1cfe25e0579f9435b7dfbd1741b14ecfe4 100644 (file)
@@ -1,9 +1,9 @@
 .TH Command SHUTDOWN
 .NA shutdown "Shut down the server"
 .LV Expert
-.SY "shutdown [<minutes>] <disable update?>"
-Shutdown the server in <minutes> minutes.  If <minutes> is 0 or not
-specified, then any previous shutdown request will be canceled.  If
+.SY "shutdown <minutes> <disable update?>"
+Shutdown the server in <minutes> minutes.  If <minutes> is 0,
+then any previous shutdown request will be canceled.  If
 the second argument is a "n" then updates will not be disabled
 (otherwise they will be).
 .s1
index 7d1d14f0255605306b7b247a0c2830fcbd4052c1..b3edc51518f190ddb0135727535a9e1a3281221d 100644 (file)
@@ -231,7 +231,7 @@ struct cmndstr player_coms[] = {
     {"shoot <c|u> <SECTS> <NUMBER>", 3, shoo, C_MOD, NORM + MONEY + CAP},
     {"show <TYPE|\"bridge\"|\"tower\"> <\"build\"|\"stats\"|\"cap\"> [<tech>]",
      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},
     {"skywatch <SECTS>", 1, skyw, C_MOD, NORM + CAP},
     {"smap <SECTS|SHIP> [s|l|n|p|*|h]", 0, map, C_MOD, NORM},