removed -f filename from Options.py and replaced its use in SplitHandHistory.py with -i infile

This commit is contained in:
Chaz 2010-10-13 02:18:36 -04:00
parent fa3f878c3a
commit b0cf6d3cb0
2 changed files with 1 additions and 3 deletions

View File

@ -54,8 +54,6 @@ def fpdb_options():
parser.add_option("-u", "--usage", action="store_true", dest="usage", default=False, parser.add_option("-u", "--usage", action="store_true", dest="usage", default=False,
help=_("Print some useful one liners")) help=_("Print some useful one liners"))
# The following options are used for SplitHandHistory.py # The following options are used for SplitHandHistory.py
parser.add_option("-f", "--file", dest="filename", metavar="FILE", default=None,
help=_("Input file in quiet mode"))
parser.add_option("-o", "--outpath", dest="outpath", metavar="FILE", default=None, parser.add_option("-o", "--outpath", dest="outpath", metavar="FILE", default=None,
help=_("Input out path in quiet mode")) help=_("Input out path in quiet mode"))
parser.add_option("-a", "--archive", action="store_true", dest="archive", default=False, parser.add_option("-a", "--archive", action="store_true", dest="archive", default=False,

View File

@ -200,7 +200,7 @@ def main(argv=None):
options.config = Configuration.Config(file = "HUD_config.test.xml") options.config = Configuration.Config(file = "HUD_config.test.xml")
if options.filename: if options.filename:
SplitHH = SplitHandHistory(options.config, options.filename, options.outpath, options.hands, SplitHH = SplitHandHistory(options.config, options.infile, options.outpath, options.hands,
options.hhc, options.archive) options.hhc, options.archive)
if __name__ == '__main__': if __name__ == '__main__':