svn commit: r331160 - stable/11/lib/libedit

Eitan Adler eadler at FreeBSD.org
Mon Mar 19 03:13:43 UTC 2018


Author: eadler
Date: Mon Mar 19 03:13:42 2018
New Revision: 331160
URL: https://svnweb.freebsd.org/changeset/base/331160

Log:
  MFC r317570:
  
  editline.3: Add missing argument to H_SET description
  
  The H_SET operation of the history() function takes an int argument which is
  the position of the item to which the cursor should be moved to.

Modified:
  stable/11/lib/libedit/editline.3
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libedit/editline.3
==============================================================================
--- stable/11/lib/libedit/editline.3	Mon Mar 19 03:06:27 2018	(r331159)
+++ stable/11/lib/libedit/editline.3	Mon Mar 19 03:13:42 2018	(r331160)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 24, 2016
+.Dd April 28, 2017
 .Dt EDITLINE 3
 .Os
 .Sh NAME
@@ -767,7 +767,7 @@ Return the previous element in the history.
 Return the next element in the history.
 .It Dv H_CURR
 Return the current element in the history.
-.It Dv H_SET
+.It Dv H_SET , Fa "int position"
 Set the cursor to point to the requested element.
 .It Dv H_ADD , Fa "const char *str"
 Append


More information about the svn-src-stable mailing list