mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Merge pull request #1766 from radarhere/pilprint
Added debug to available options for pilprint
This commit is contained in:
commit
6f5994db15
|
@ -33,10 +33,11 @@ def description(filepath, image):
|
|||
return title + format % image.size + image.mode + ")"
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
print("PIL Print 0.2a1/96-10-04 -- print image files")
|
||||
print("PIL Print 0.3/2003-05-05 -- print image files")
|
||||
print("Usage: pilprint files...")
|
||||
print("Options:")
|
||||
print(" -c colour printer (default is monochrome)")
|
||||
print(" -d debug (show available drivers)")
|
||||
print(" -p print via lpr (default is stdout)")
|
||||
print(" -P <printer> same as -p but use given printer")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user