- if self._verbose:
- title_idx = 'line number(s)'
- title_cmdname = 'command'
- self._colwidths: dict[str, int] = {}
- for idx_str, line in self._lines_t:
- self._colwidths['idx'] = max(
- len(title_idx),
- len(idx_str),
- self._colwidths.get('idx', 0))
- cmd_name, args = self._cmdname_and_args_from(line)
- self._colwidths['cmdname'] = max(
- len(title_cmdname),
- len(cmd_name),
- self._colwidths.get('cmdname', 0))
- self._colwidths['midargs'] = max(
- len(self._args_verbose(args[:-1])),
- self._colwidths.get('midargs', 0))
- self._print_verbose_columns(
- (title_idx, title_cmdname, 'arguments'))
+ title_idx = 'line number(s)'
+ title_cmdname = 'command'
+ self._colwidths: dict[str, int] = {}
+ for idx_str, line in self._lines_t:
+ self._colwidths['idx'] = max(
+ len(title_idx),
+ len(idx_str),
+ self._colwidths.get('idx', 0))
+ cmd_name, args = self._cmdname_and_args_from(line)
+ self._colwidths['cmdname'] = max(
+ len(title_cmdname),
+ len(cmd_name),
+ self._colwidths.get('cmdname', 0))
+ self._colwidths['midargs'] = max(
+ len(self._args_verbose(args[:-1])),
+ self._colwidths.get('midargs', 0))
+ self._log_verbose_columns((title_idx, title_cmdname, 'arguments'))