misc: improve consistency and add rssi to logs

This commit is contained in:
Neal Patel 2018-02-26 14:40:58 -08:00
commit b9cf32573f
4 changed files with 40 additions and 11 deletions

View file

@ -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)