Compare commits

..

1 Commits

Author SHA1 Message Date
dfb41a7bac
Formatting changes for the show command 2021-02-15 19:33:02 -06:00

View File

@ -50,7 +50,7 @@ func ShowCmd(args CmdArgs) (int, error) {
fmt.Printf(" location:%s\n", l.Location.Name) fmt.Printf(" location:%s\n", l.Location.Name)
fmt.Printf(" Last Seen: %s (%.1fs ago)\n", l.LastSeen, l.SecondsLastSeen) fmt.Printf(" Last Seen: %s (%.1fs ago)\n", l.LastSeen, l.SecondsLastSeen)
if i < len(lights)-1 { if i+1 < len(lights) {
fmt.Println() fmt.Println()
} }
} }