Home | History | Annotate | Download | only in distutils

Lines Matching refs:short

5   * short and long options are tied together
36 * short and long options are tied together
83 # but expands short options, converts aliases, etc.
158 long, short, help = option
161 long, short, help, repeat = option
173 if (not ((short is None) or
174 (isinstance(short, str) and len(short) == 1))):
176 ("invalid short option '%s': "
177 "must a single character or None") % short
183 if short: short = short + ':'
225 if short:
226 self.short_opts.append(short)
227 self.short2long[short[0]] = long
262 if len(opt) == 2 and opt[0] == '-': # it's a short option
320 short = option[1]
324 if short is not None:
325 l = l + 5 # " (-x)" where short == 'x'
338 # Options with short names will have the short name shown (but
341 # If adding the short option would make the left column too wide,
349 # - 5 characters (incl. space) for short option name
362 long, short, help = option[:3]
367 # Case 1: no short option at all (makes life easy)
368 if short is None:
374 # Case 2: we have a short option, so we have to include it
377 opt_names = "%s (-%s)" % (long, short)