mirror of
https://github.com/bettercap/bettercap
synced 2025-07-31 04:00:09 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
dbd4590654
commit
2446cde2e1
1 changed files with 0 additions and 5 deletions
|
@ -115,11 +115,6 @@ func (p ModuleParam) Get(s *Session) (error, interface{}) {
|
||||||
return p.Validate(v)
|
return p.Validate(v)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p ModuleParam) Dump(padding int) string {
|
|
||||||
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
|
|
||||||
" : %s\n", p.Name, p.Value)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (p ModuleParam) Help(padding int) string {
|
func (p ModuleParam) Help(padding int) string {
|
||||||
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
|
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
|
||||||
" : "+
|
" : "+
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue