From b4aea1809dd606b3209a4d37523b60130549d1fe Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 4 Mar 2021 19:35:44 +0100 Subject: [PATCH] the default unit is mm and not pt --- plakativ.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plakativ.py b/plakativ.py index 1d9785a..a867e72 100755 --- a/plakativ.py +++ b/plakativ.py @@ -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 "