def buildOptions(self): """ Command-line options for LocationDump """ ZCmdBase.buildOptions(self) self.parser.add_option('-o', '--outfile', dest='outfile', default="locdump.out", help='output file')
def buildOptions(self): ZCmdBase.buildOptions(self) self.parser.add_option('-x', '--commitCount', dest='commitCount', default=1000, type="int", help='how many lines should be loaded before commit') self.parser.add_option('-n', '--noCommit', dest='noCommit', action="store_true", default=0, help='Do not store changes to the Dmd (for debugging)')
def buildOptions(self): ZCmdBase.buildOptions(self) self.parser.add_option( '-x', '--commitCount', dest='commitCount', default=1000, type="int", help='how many lines should be loaded before commit') self.parser.add_option( '-n', '--noCommit', dest='noCommit', action="store_true", default=0, help='Do not store changes to the Dmd (for debugging)')