Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 21:05:29 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317570 - head/lib/libedit
Message-ID:  <201704282105.v3SL5ToR061011@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Fri Apr 28 21:05:28 2017
New Revision: 317570
URL: https://svnweb.freebsd.org/changeset/base/317570

Log:
  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.
  
  Submitted by:	Abhinav Upadhyay <abhinav@NetBSD.org>

Modified:
  head/lib/libedit/editline.3

Modified: head/lib/libedit/editline.3
==============================================================================
--- head/lib/libedit/editline.3	Fri Apr 28 20:51:18 2017	(r317569)
+++ head/lib/libedit/editline.3	Fri Apr 28 21:05:28 2017	(r317570)
@@ -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 histo
 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?201704282105.v3SL5ToR061011>