1
0
Fork 0
forked from josch/plakativ

the default unit is mm and not pt

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-03-04 19:35:44 +01:00
parent 9d61fe76b0
commit b4aea1809d
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -2037,7 +2037,7 @@ def parse_num(num, name):
)
raise argparse.ArgumentTypeError(msg)
if unit is None:
unit = Unit.pt
unit = Unit.mm
else:
num = num[:-2]
try:
@ -2289,7 +2289,8 @@ Report bugs at https://gitlab.mister-muffin.de/josch/plakativ/issues
help="The borders on each output page for gluing. This specifies how "
"much the pages overlap each other. If your printer cannot print "
"borderless, then this value should also be larger than the border up "
"to which your printer is able to print. One value sets the border on "
"to which your printer is able to print. The default unit is mm. "
"Other possible units are cm, in and pt. One value sets the border on "
"all four sides. Multiple values are separated by a colon. With two "
"values, the first value sets top and bottom border and the second "
"value sets left and right border. With three values, the first value "