Changeset 367
- Timestamp:
- 08/26/06 23:06:24 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/analyzer.py
r363 r367 221 221 parser.add_option("-r", "--resolution", 222 222 type="int", 223 default= 150,223 default=72, 224 224 dest="resolution", 225 help="The resolution in DPI to use when checking ink usage. Lower resolution is faster . Default is 150.")225 help="The resolution in DPI to use when checking ink usage. Lower resolution is faster but less accurate. Default is 72 dpi.") 226 226 (options, arguments) = parser.parse_args() 227 227 if options.version : 228 228 print "%s" % version.__version__ 229 229 elif not (72 <= options.resolution <= 1200) : 230 sys.stderr.write("ERROR: the argument to the --resolution command line switchmust be between 72 and 1200.\n")230 sys.stderr.write("ERROR: the argument to the --resolution command line option must be between 72 and 1200.\n") 231 231 sys.stderr.flush() 232 232 else :