Package: hplip / 3.22.10+dfsg0-2

0025-Fix-list-wrapping-in-scan.py-to-fix-generated-manpag.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Didier Raboud <odyx@debian.org>
Date: Mon, 3 Oct 2016 11:16:48 +0200
Subject: Fix list wrapping in scan.py to fix generated manpage

---
 scan.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scan.py b/scan.py
index 0b24e36..90cb6aa 100755
--- a/scan.py
+++ b/scan.py
@@ -249,8 +249,8 @@ try:
     extra_options=[utils.USAGE_SPACE,
         ("[OPTIONS] (General)", "", "header", False),
         ("Scan destinations:", "-s<dest_list> or --dest=<dest_list>", "option", False),
-        ("", "where <dest_list> is a comma separated list containing one or more of: 'file'\*, ", "option", False),
-        ("", "'viewer', 'editor', 'pdf', or 'print'. Use only commas between values, no spaces.", "option", False),
+        ("", "where <dest_list> is a comma separated list containing one or more of: 'file'", "option", False),
+        ("", ", 'viewer', 'editor', 'pdf', or 'print'. Use only commas between values, no spaces.", "option", False),
         ("Scan mode:", "-m<mode> or --mode=<mode>. Where <mode> is 'gray'\*, 'color' or 'lineart'.", "option", False),
         ("Scanning resolution:", "-r<resolution_in_dpi> or --res=<resolution_in_dpi> or --resolution=<resolution_in_dpi>", "option", False),
         ("", "where 300 is default.", "option", False),