Home | History | Annotate | Download | only in python2.7

Lines Matching refs:lines

333                 # helper for wrapping lines
335 lines = []
343 lines.append(indent + ' '.join(line))
349 lines.append(indent + ' '.join(line))
351 lines[0] = lines[0][len(indent):]
352 return lines
358 lines = get_lines([prog] + opt_parts, indent, prefix)
359 lines.extend(get_lines(pos_parts, indent))
361 lines = get_lines([prog] + pos_parts, indent, prefix)
363 lines = [prog]
369 lines = get_lines(parts, indent)
370 if len(lines) > 1:
371 lines = []
372 lines.extend(get_lines(opt_parts, indent))
373 lines.extend(get_lines(pos_parts, indent))
374 lines = [prog] + lines
376 # join lines into usage
377 usage = '\n'.join(lines)
513 # if there was help for the action, add lines of help text