Home
last modified time | relevance | path

Searched refs:opt_width (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dfancy_getopt.py329 opt_width = max_opt + 2 + 2 + 2 # room for indent + dashes + gutter
354 text_width = line_width - opt_width
355 big_indent = ' ' * opt_width
/external/python/cpython3/Lib/distutils/
Dfancy_getopt.py301 opt_width = max_opt + 2 + 2 + 2 # room for indent + dashes + gutter
326 text_width = line_width - opt_width
327 big_indent = ' ' * opt_width
/external/mksh/src/
Dmisc.c139 int opt_width; member
153 oi->opt_width, OFN(oi->opts[i]), in options_fmt_entry()
170 oi.opt_width = 0; in printoptions()
177 if ((int)len > oi.opt_width) in printoptions()
178 oi.opt_width = (int)len; in printoptions()
186 octs + 4, oi.opt_width + 4); in printoptions()
/external/python/cpython3/Lib/
Doptparse.py313 opt_width = self.help_position - self.current_indent - 2
314 if len(opts) > opt_width:
318 opts = "%*s%-*s " % (self.current_indent, "", opt_width, opts)
/external/python/cpython2/Lib/
Doptparse.py307 opt_width = self.help_position - self.current_indent - 2
308 if len(opts) > opt_width:
312 opts = "%*s%-*s " % (self.current_indent, "", opt_width, opts)