diff --git a/commands.go b/commands.go index 5e96912..a8b9976 100644 --- a/commands.go +++ b/commands.go @@ -329,7 +329,7 @@ func runCommand(conn *Connection, name string, args ...string) { } if conn.InTransit() && !cmd.mobile { - fmt.Fprintf(conn, "command %s can not be used while in transit", name) + fmt.Fprintf(conn, "command %s can not be used while in transit\n", name) return } cmd.handler(conn, args...) diff --git a/system.go b/system.go index 873dbde..0fefd58 100644 --- a/system.go +++ b/system.go @@ -248,7 +248,7 @@ func deliverReply(id int, echo int, results *scanResults) { if results.negative() { return } - fmt.Fprintf(conn, "scan results from %s (%v away):\n", source.name, delay) + fmt.Fprintf(conn, "scan results from %s [id: %d] (%v away):\n", source.name, echo, delay) results.write(conn) }) }