Compare commits
1 Commits
dfb41a7bac
...
01086e3c22
Author | SHA1 | Date | |
---|---|---|---|
01086e3c22 |
@ -50,7 +50,7 @@ func ShowCmd(args CmdArgs) (int, error) {
|
||||
fmt.Printf(" location:%s\n", l.Location.Name)
|
||||
fmt.Printf(" Last Seen: %s (%.1fs ago)\n", l.LastSeen, l.SecondsLastSeen)
|
||||
|
||||
if i+1 < len(lights) {
|
||||
if i < len(lights)-1 {
|
||||
fmt.Println()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user