Skip to content

Commit e2e31c0

Browse files
ianloicCQ Bot
authored andcommitted
[ffx][adb] Improve quote marks in message.
When I run "ffx starnix adb connect" it prints a message like: adb is connected! See https://fuchsia.dev/go/troubleshoot-adb-connect if it doesn't work. This connection's "serial number" for adb is `[fe80::affd:96dc:f632:eb68%11]:5555`. So then I type "adb -s " and copy and paste the address, complete with quotation marks because I don't want my shell to interpret the square brackets as special glob marks and the percent as referring to a job number. But I am foiled because these are forward ticks, so my shell tries to run "[fe80::affd:96dc:f632:eb68%11]:5555" in a subshell. In this CL I change the message to use normal single quote marks so that I can easily copy the address. Change-Id: Ibbdb624655779a5a7fb92fd67f1dace87a2b8921 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1235924 Commit-Queue: Ian McKellar <[email protected]> Fuchsia-Auto-Submit: Ian McKellar <[email protected]> Reviewed-by: Kevin Lindkvist <[email protected]>
1 parent 90db523 commit e2e31c0

File tree

1 file changed

+1
-1
lines changed
  • src/developer/ffx/tools/starnix/src

1 file changed

+1
-1
lines changed

src/developer/ffx/tools/starnix/src/adb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl AdbConnectArgs {
128128

129129
eprintln!("adb is connected!");
130130
eprintln!("See https://fuchsia.dev/go/troubleshoot-adb-connect if it doesn't work.");
131-
eprintln!("This connection's \"serial number\" for adb is `{adb_address}`.");
131+
eprintln!("This connection's \"serial number\" for adb is '{adb_address}'.");
132132
Ok(())
133133
}
134134
}

0 commit comments

Comments
 (0)