1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-23 06:31:54 +00:00

Added --fakepanelview option

This commit is contained in:
Paweł Jastrzębski
2013-03-10 00:03:11 +01:00
parent bb0856c841
commit c5983276e5

View File

@@ -430,6 +430,8 @@ def main(argv=None):
help="Comic title [Default=filename]")
parser.add_option("-m", "--manga-style", action="store_true", dest="righttoleft", default=False,
help="Manga style (Right-to-left reading and splitting) [Default=False]")
parser.add_option("--fakepanelview", action="store_true", dest="fakepanelview", default=False,
help="Emulate Panel View feature (For Kindle 4 NT or older) [Default=False]")
parser.add_option("--noprocessing", action="store_false", dest="imgproc", default=True,
help="Do not apply image preprocessing (Page splitting and optimizations) [Default=True]")
parser.add_option("--nodithering", action="store_true", dest="notquantize", default=False,
@@ -454,6 +456,8 @@ def main(argv=None):
parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False,
help="Verbose output [Default=False]")
options, args = parser.parse_args(argv)
if options.fakepanelview = True and options.profile = "KHD":
options.fakepanelview = False
if len(args) != 1:
parser.print_help()
return