Added --genpoi to overviewer.py
This commit is contained in:
@@ -23,10 +23,6 @@ from overviewer_core import logger
|
||||
from overviewer_core import nbt
|
||||
from overviewer_core import configParser, world
|
||||
|
||||
helptext = """
|
||||
%prog --config=<config file>"""
|
||||
|
||||
logger.configure()
|
||||
|
||||
def handleSigns(rset, outputdir, render, rname):
|
||||
|
||||
@@ -45,6 +41,11 @@ def handleSigns(rset, outputdir, render, rname):
|
||||
|
||||
|
||||
def main():
|
||||
helptext = """genPOI
|
||||
%prog --config=<config file>"""
|
||||
|
||||
logger.configure()
|
||||
|
||||
parser = OptionParser(usage=helptext)
|
||||
parser.add_option("--config", dest="config", action="store", help="Specify the config file to use.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user