home · contact · privacy
Server: Add -n option to regenerate world.
[plomrogue] / server / utils.py
index c8f1c380bafba5cab203895d81d6a189c1dae34c..f7128916f37abbef0fb4136c9123c450fc233740 100644 (file)
@@ -98,12 +98,13 @@ def parse_command_line_arguments():
     """Return settings values read from command line arguments."""
     import argparse
     parser = argparse.ArgumentParser()
+    parser.add_argument('-n', dest='new', action='store_true')
     parser.add_argument('-s', nargs='?', type=int, dest='replay', const=1,
                         action='store')
     parser.add_argument('-l', nargs="?", const="save", dest='savefile',
                         action="store")
     parser.add_argument('-w', type=str,
-                        default="confserver/PleaseTheIslandGod",
+                        default="confserver/TheCrawlingEater",
                         dest='worldconf', action='store')
     parser.add_argument('-v', dest='verbose', action='store_true')
     opts, unknown = parser.parse_known_args()