devtools/madb: use the nickname as the console prefix, if applicable.

When the user sets a nickname for a device with 'madb name' command,
the nickname is used as the console output prefix, instead of its
device serial.

Change-Id: Ic48b7adbc1e242d2ea43d2a7cd4ab5efa5431959
3 files changed
tree: ba2fee49d5ed193fb07419c58d36505b5cdf2d74
  1. doc.go
  2. exec.go
  3. madb.go
  4. madb_test.go
  5. name.go
  6. name_test.go