+def makeParser(usage=""):
+ parser = optparse.OptionParser(usage=usage)
+ parser.add_option("--fontsize", type="int", dest="fontSize")
+ parser.add_option("--length", type="int", dest="length")
+ parser.add_option("--width", type="int", dest="width")
+
+ configParser = getConfigParser()
+ section = "getgosig"
+ fontSize = getConfigIntOption(configParser, section, "fontSize", 5)
+ length = getConfigIntOption(configParser, section, "length", 10)
+ width = getConfigIntOption(configParser, section, "width", 7)
+
+ parser.set_defaults(fontSize=fontSize, length=length, width=width)
+
+ return parser
+
+