From: Antonio Borneo Date: Sat, 6 Apr 2019 07:40:18 +0000 (+0200) Subject: doc/openocd.texi: fix cross referencing X-Git-Tag: v0.11.0-rc1~727 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=ae4b2720a49d666a065869f55e35130a5c689c3f;hp=83515b60c9a506c458e614732165a791fa1a833a 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 --- diff --git a/doc/openocd.texi b/doc/openocd.texi index a5037b2543..479bf34ecb 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