From 06bc18663dcff05d1d034fc512a475a3699ad078 Mon Sep 17 00:00:00 2001 From: Lars Beckers <lars.beckers@rwth-aachen.de> Date: Thu, 16 Jan 2020 22:29:43 +0100 Subject: [PATCH] cups-client: drucken.py should not set a default punching argument --- cups-client/files/drucken.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups-client/files/drucken.py b/cups-client/files/drucken.py index 50c0b72..61c08c9 100755 --- a/cups-client/files/drucken.py +++ b/cups-client/files/drucken.py @@ -26,7 +26,7 @@ group = parser.add_mutually_exclusive_group() group.add_argument("--fitplot", action="store_true", help="Datei auf Seitengröße skalieren.") group.add_argument("--scaling", type=int, help="Datei auf n Prozent der Seite skalieren.") parser.add_argument("--staple", choices=['None', 'Center', 'Front', 'Rear', 'UpperLeft', 'LowerLeft'], help="Tackern. (Karman-only)") -parser.add_argument("--punch", choices=['None', '2Hole', '2HoleEUR', '3Hole', '4Hole', '2', '3', '4'], default='None', help="Lochen. (Karman-only)") +parser.add_argument("--punch", choices=['None', '2Hole', '2HoleEUR', '3Hole', '4Hole', '2', '3', '4'], default=None, help="Lochen. (Karman-only)") parser.add_argument("--pages-per-page", choices=['1', '2', '4', '6', '9', '16'], default='1', help="Drucke n Seiten auf eine echte Seite. (default: %(default)s)") parser.add_argument("--media-type", choices=['Auto', 'Highqlty', 'Prepunched', 'Transparency', 'Bond', 'Labels', 'PrnDef', 'Cardstock', 'Letterhead', 'Recycled', 'Color', 'Plain', 'Rough', 'Envelope', 'Preprinted', 'Thick', 'Vellum'], help="Wähle das eingelegte Druckerpapier aus.") parser.add_argument("--color", choices=['CMYK', 'Gray'], help="Wähle die Farbeinstellungen aus. (Karman-only)") -- GitLab