Had to make it handle -O and -p in the getopt jazz.

This commit is contained in:
Jeremy Fincher 2003-06-18 18:44:16 +00:00
parent 6ead5d2692
commit e27f7e555c

View File

@ -150,7 +150,7 @@ def processConfigFile(filename):
reportConfigError(filename, msg) reportConfigError(filename, msg)
def main(): def main():
(optlist, filenames) = getopt.getopt(sys.argv[1:], 'c:') (optlist, filenames) = getopt.getopt(sys.argv[1:], 'Opc:')
for (option, argument) in optlist: for (option, argument) in optlist:
if option == '-c': if option == '-c':
myLocals = {} myLocals = {}