From 7863a9d0c51e0ae6763c6f258f40a4cf74f03f95 Mon Sep 17 00:00:00 2001 From: Sumpfork Date: Tue, 19 Jul 2016 11:13:00 -0700 Subject: [PATCH] fix arparse help strings - they cannot have unquoted format character --- domdiv/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domdiv/__init__.py b/domdiv/__init__.py index dd0e818..dbac335 100644 --- a/domdiv/__init__.py +++ b/domdiv/__init__.py @@ -50,16 +50,16 @@ def parse_opts(arglist): "--size", dest="size", default='normal', - help="'<%f>x<%f>' (size in cm), or 'normal' = '9.1x5.9', or 'sleeved' = '9.4x6.15'") + help="'<%%f>x<%%f>' (size in cm), or 'normal' = '9.1x5.9', or 'sleeved' = '9.4x6.15'") parser.add_argument( "--minmargin", dest="minmargin", default="1x1", - help="'<%f>x<%f>' (size in cm, left/right, top/bottom), default: 1x1") + help="'<%%f>x<%%f>' (size in cm, left/right, top/bottom), default: 1x1") parser.add_argument("--papersize", dest="papersize", default=None, - help="'<%f>x<%f>' (size in cm), or 'A4', or 'LETTER'") + help="'<%%f>x<%%f>' (size in cm), or 'A4', or 'LETTER'") parser.add_argument( "--front", choices=TEXT_CHOICES,