def build_arg_parser2():
usage_str = "<STR_LIT>"<EOL>parser = optparse.OptionParser(usage=usage_str)<EOL>parser.add_option("<STR_LIT>", dest="<STR_LIT>", type="<STR_LIT:string>", help='<STR_LIT>')<EOL>parser.add_option("<STR_LIT>", dest="<STR_LIT:f>", type="<STR_LIT:string>", action="<STR_LIT>", callback=cb, help="<STR_LIT>")<EOL>parser.add_option("<STR_LIT>", dest="<STR_LIT:p>", type="<STR_LIT:string>", action="<STR_LIT>", callback=cb, help="<STR_LIT>")<EOL>parser.add_option("<STR_LIT>", dest="<STR_LIT>", type="<STR_LIT:string>", help="<STR_LIT>")<EOL>parser.add_option("<STR_LIT>", "<STR_LIT>", dest="<STR_LIT:r>", type="<STR_LIT:int>", help='<STR_LIT>')<EOL>parser.add_option("<STR_LIT>", "<STR_LIT>", action='<STR_LIT:store_true>', dest="<STR_LIT:v>", help='<STR_LIT>')<EOL>parser.set_defaults(r=<NUM_LIT:4>, v=False, ms=False, fd=isi_dir_pre)<EOL>return parser<EOL>
Build an argument parser using optparse. Use it when python version is 2.5 or 2.6.