comparison bin/publishstaticweb.py @ 319:dba1b6b825ec

Improve help string for --config-file option of publishstaticweb.
author Bernhard Herzog <bh@intevation.de>
date Wed, 09 Dec 2009 17:47:15 +0000
parents 1fcdffbeb9de
children 28df50b267f6
comparison
equal deleted inserted replaced
318:f70cee73a7ec 319:dba1b6b825ec
43 def parse_commandline(): 43 def parse_commandline():
44 parser = OptionParser() 44 parser = OptionParser()
45 parser.set_defaults(config_file=os.path.join(treepkgcmd.topdir, 45 parser.set_defaults(config_file=os.path.join(treepkgcmd.topdir,
46 "staticweb.cfg")) 46 "staticweb.cfg"))
47 parser.add_option("--config-file", 47 parser.add_option("--config-file",
48 help=("The tree packager config file." 48 help=("The configuration file. Default is staticweb.cfg"))
49 " Default staticweb.cfg"))
50 return parser.parse_args() 49 return parser.parse_args()
51 50
52 def publish_static_site(config_filename): 51 def publish_static_site(config_filename):
53 config = read_config(config_filename) 52 config = read_config(config_filename)
54 53
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)