Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 03:13:42 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331160 - stable/11/lib/libedit
Message-ID:  <201803190313.w2J3Dg1h090037@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803190313.w2J3Dg1h090037>