Migrated SplitHandHistory.py commandline options to Options.py
This commit is contained in:
parent
b08081e419
commit
f97c1da3b9
|
@ -53,6 +53,15 @@ def fpdb_options():
|
||||||
help = _("Print version information and exit."))
|
help = _("Print version information and exit."))
|
||||||
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
|
||||||
|
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()
|
(options, argv) = parser.parse_args()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user