allow float for back_offset option
This commit is contained in:
1 parent
aa3f18f294
commit
1ea98aab42
1 file changed
+1
-1
+1
-1
@@ -589,7 +589,7 @@ class DominionTabs:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def parse_opts(argstring):
|
def parse_opts(argstring):
|
||||||
parser = OptionParser()
|
parser = OptionParser()
|
||||||
parser.add_option("--back_offset",type="int",dest="back_offset",default=0,
|
parser.add_option("--back_offset",type="float",dest="back_offset",default=0,
|
||||||
help="Points to offset the back page to the right; needed for some printers")
|
help="Points to offset the back page to the right; needed for some printers")
|
||||||
parser.add_option("--orientation",type="choice",choices=["horizontal","vertical"],dest="orientation",default="horizontal",
|
parser.add_option("--orientation",type="choice",choices=["horizontal","vertical"],dest="orientation",default="horizontal",
|
||||||
help="horizontal or vertical, default:horizontal")
|
help="horizontal or vertical, default:horizontal")
|
||||||
|
|||||||
Reference in new issue
Block a user