0

Update usage information for genPOI

Usage text update to include --quiet and reflect whether script is
called independently or via the --genpoi flag for overviewer.py
This commit is contained in:
Thomas Lake
2012-04-15 14:23:48 +01:00
parent 9a8aa6865a
commit 44042c3d75

View File

@@ -17,6 +17,7 @@ markers.js holds a list of which markerSets are attached to each tileSet
import os
import logging
import json
import sys
from optparse import OptionParser
from overviewer_core import logger
@@ -41,8 +42,13 @@ def handleSigns(rset, outputdir, render, rname):
def main():
if os.path.basename(sys.argv[0]) == """genPOI.py""":
helptext = """genPOI.py
%prog --config=<config file> [--quiet]"""
else:
helptext = """genPOI
%prog --config=<config file>"""
%prog --genpoi --config=<config file> [--quiet]"""
logger.configure()