mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: improve consistency and add rssi to logs
This commit is contained in:
parent
b8e48e7f8a
commit
b9cf32573f
4 changed files with 40 additions and 11 deletions
|
@ -85,10 +85,11 @@ func (s *Session) helpHandler(args []string, sess *Session) error {
|
|||
for _, h := range handlers {
|
||||
fmt.Printf(h.Help(maxLen))
|
||||
}
|
||||
fmt.Println()
|
||||
|
||||
params := m.Parameters()
|
||||
if len(params) > 0 {
|
||||
fmt.Printf("\n Parameters\n\n")
|
||||
fmt.Printf(" Parameters\n\n")
|
||||
maxLen := 0
|
||||
for _, h := range params {
|
||||
len := len(h.Name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue