From f97c1da3b94bc86fd429e019a7c1f5b0b0ae19f8 Mon Sep 17 00:00:00 2001 From: Chaz Date: Wed, 13 Oct 2010 01:48:35 -0400 Subject: [PATCH] Migrated SplitHandHistory.py commandline options to Options.py --- pyfpdb/Options.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyfpdb/Options.py b/pyfpdb/Options.py index 98034b50..4646cb6e 100644 --- a/pyfpdb/Options.py +++ b/pyfpdb/Options.py @@ -53,6 +53,15 @@ def fpdb_options(): help = _("Print version information and exit.")) 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, + help=_("File to be split is a PokerStars or Full Tilt Poker archive file")) + parser.add_option("-n", "--numhands", dest="hands", default="100", type="int", + help=_("How many hands do you want saved to each file. Default is 100")) (options, argv) = parser.parse_args()