MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _format_option_strings

Method _format_option_strings

lib/utils/tui.py:82–89  ·  view source on GitHub ↗

Format option strings for display

(self, option)

Source from the content-addressed store, hash-verified

80 self.tabs.append(tab_data)
81
82 def _format_option_strings(self, option):
83 """Format option strings for display"""
84 parts = []
85 if hasattr(option, '_short_opts') and option._short_opts:
86 parts.extend(option._short_opts)
87 if hasattr(option, '_long_opts') and option._long_opts:
88 parts.extend(option._long_opts)
89 return ', '.join(parts)
90
91 def _draw_header(self):
92 """Draw the header bar"""

Callers 4

_parse_optionsMethod · 0.95
_Function · 0.80
populate_tabFunction · 0.80
_Function · 0.80

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected