From b0cf6d3cb015098fe7daef5b150c9e6ac841fb43 Mon Sep 17 00:00:00 2001 From: Chaz Date: Wed, 13 Oct 2010 02:18:36 -0400 Subject: [PATCH] removed -f filename from Options.py and replaced its use in SplitHandHistory.py with -i infile --- pyfpdb/Options.py | 2 -- pyfpdb/SplitHandHistory.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyfpdb/Options.py b/pyfpdb/Options.py index 4646cb6e..3c9b3930 100644 --- a/pyfpdb/Options.py +++ b/pyfpdb/Options.py @@ -54,8 +54,6 @@ def fpdb_options(): parser.add_option("-u", "--usage", action="store_true", dest="usage", default=False, help=_("Print some useful one liners")) # 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, help=_("Input out path in quiet mode")) parser.add_option("-a", "--archive", action="store_true", dest="archive", default=False, diff --git a/pyfpdb/SplitHandHistory.py b/pyfpdb/SplitHandHistory.py index 8be80e66..f37325a2 100644 --- a/pyfpdb/SplitHandHistory.py +++ b/pyfpdb/SplitHandHistory.py @@ -200,7 +200,7 @@ def main(argv=None): options.config = Configuration.Config(file = "HUD_config.test.xml") 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) if __name__ == '__main__':