mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
dbd4590654
commit
2446cde2e1
@ -115,11 +115,6 @@ func (p ModuleParam) Get(s *Session) (error, interface{}) {
|
||||
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 {
|
||||
return fmt.Sprintf(" "+tui.YELLOW+"%"+strconv.Itoa(padding)+"s"+tui.RESET+
|
||||
" : "+
|
||||
|
Loading…
x
Reference in New Issue
Block a user