From ae4b2720a49d666a065869f55e35130a5c689c3f Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 6 Apr 2019 09:40:18 +0200 Subject: [PATCH] doc/openocd.texi: fix cross referencing Commit b04c7c2ca587feebd6506716cd84297212350608 adds the cross reference target "adapter_usb_location", but references it with the command @xref inside a text, where command @ref should be used. This triggers a compile warning: doc/openocd.texi:2517: warning: `.' or `,' must follow @xref, not c Replace @xref with @ref and adapt both the text and the command syntax. Change-Id: I1520ffecb7d1d375f924492b1884d5b47f399007 Fixes: b04c7c2ca587 ("ftdi: use "adapter usb location" instead of ftdi_location command") Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5045 Tested-by: jenkins Reviewed-by: Matthias Welwarsky --- doc/openocd.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index a5037b254..479bf34ec 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2514,7 +2514,7 @@ and are not restricted to containing only decimal digits.) @deffn {Config Command} {ftdi_location} -[.]... @emph{DEPRECATED -- avoid using this. -Use the @xref{adapter_usb_location, adapter usb location} command instead.} +Use the command @ref{adapter_usb_location,,adapter usb location} instead.} Specifies the physical USB port of the adapter to use. The path roots at @var{bus} and walks down the physical ports, with each