Lines Matching refs:options
120 options = parser.parse_args(args=args)
122 if options.infile:
123 if not os.path.isfile(options.infile):
124 parser.error('file "%s" not found' % options.infile)
125 with open(options.infile, 'rb') as infile:
134 if options.outfile:
135 if os.path.isfile(options.outfile) and not options.force:
137 outfile = open(options.outfile, 'wb')
142 if options.decompress:
147 mode=options.mode,
148 quality=options.quality,
149 lgwin=options.lgwin,
150 lgblock=options.lgblock)
153 'bro: error: %s: %s' % (e, options.infile or 'sys.stdin'))