Fix documentation for remote_close
diff --git a/ChangeLog b/ChangeLog index dd592ac..1820167 100644 --- a/ChangeLog +++ b/ChangeLog
@@ -6,6 +6,8 @@ behavior if wrapped program terminates using abort(). (file_on_build procedure): Document. (file_on_host procedure): Document. + (remote_close procedure): Revise documentation to describe the + behavior of the current code. (remote_file procedure): Document arguments and known operations. 2026-11-06 Jacob Bachmeyer <jcb@gnu.org>
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index f9fe845..174f68f 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi
@@ -3778,17 +3778,18 @@ @subsubheading remote_close Procedure @findex remote_close +This procedure closes the connection to a remote host or board. + @quotation -@t{@b{remote_close} @i{shellid}} +@t{@b{remote_close} @i{board}} @end quotation @table @asis -@item @code{shellid} -This is the value returned by a call to @code{remote_open}. This -closes the connection to the target so resources can be used by -others. This parameter can be left off if the @code{fileid} field in -the @code{target_info} array is set. +@item @code{board} +This is the name of the destination that should be disconnected. The +aliases @code{target}, @code{host}, and @code{build} are also +accepted. @end table @node remote_download procedure, remote_exec procedure, remote_close procedure, Procedures For Remote Communication